/* Returns TRUE is interrupts are currently enabled. Otherwise returns FALSE. */
BOOLEAN EFIAPI GetInterruptState(VOID)
/* Returns TRUE is interrupts are currently enabled. Otherwise returns FALSE. */
BOOLEAN EFIAPI GetInterruptState(VOID)
{
  IA32_EFLAGS32  EFlags;
  EFlags.UintN = AsmReadEflags ();
  return (BOOLEAN)(1 == EFlags.Bits.IF);
}