EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

MdePkg/Library/BaseLib/X86GetInterruptState.c File Reference

#include "BaseLibInternals.h"

Go to the source code of this file.

Functions

BOOLEAN EFIAPI GetInterruptState (VOID)

Detailed Description

IA-32/x64 GetInterruptState()

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file X86GetInterruptState.c.


Function Documentation

BOOLEAN EFIAPI GetInterruptState ( VOID  )

Retrieves the current CPU interrupt state.

Returns TRUE is interrupts are currently enabled. Otherwise returns FALSE.

Return values:
TRUECPU interrupts are enabled.
FALSECPU interrupts are disabled.

Definition at line 31 of file X86GetInterruptState.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines