TianoCore EDK2 master
Loading...
Searching...
No Matches
X86GetInterruptState.c
Go to the documentation of this file.
1
9#include "BaseLibInternals.h"
10
21BOOLEAN
22EFIAPI
24 VOID
25 )
26{
27 IA32_EFLAGS32 EFlags;
28
29 EFlags.UintN = AsmReadEflags ();
30 return (BOOLEAN)(1 == EFlags.Bits.IF);
31}
UINTN EFIAPI AsmReadEflags(VOID)
Definition: GccInline.c:75
BOOLEAN EFIAPI GetInterruptState(VOID)