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

MdePkg/Library/BaseLib/X86GetInterruptState.c

Go to the documentation of this file.
00001 
00016 #include "BaseLibInternals.h"
00017 
00018 
00029 BOOLEAN
00030 EFIAPI
00031 GetInterruptState (
00032   VOID
00033   )
00034 {
00035   IA32_EFLAGS32                     EFlags;
00036 
00037   EFlags.UintN = AsmReadEflags ();
00038   return (BOOLEAN)(1 == EFlags.Bits.IF);
00039 }
00040 
00041 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines