TianoCore EDK2
master
Loading...
Searching...
No Matches
X86GetInterruptState.c
Go to the documentation of this file.
1
9
#include "
BaseLibInternals.h
"
10
21
BOOLEAN
22
EFIAPI
23
GetInterruptState
(
24
VOID
25
)
26
{
27
IA32_EFLAGS32 EFlags;
28
29
EFlags.UintN =
AsmReadEflags
();
30
return
(BOOLEAN)(1 == EFlags.Bits.IF);
31
}
AsmReadEflags
UINTN EFIAPI AsmReadEflags(VOID)
Definition:
GccInline.c:75
BaseLibInternals.h
GetInterruptState
BOOLEAN EFIAPI GetInterruptState(VOID)
Definition:
X86GetInterruptState.c:23
MdePkg
Library
BaseLib
X86GetInterruptState.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6