25 #if defined (MDE_CPU_X64)
32 Rflags.UintN = SystemContext.SystemContextX64->Rflags;
33 ASSERT (Rflags.Bits.IF);
39 SystemContext.SystemContextX64->Rflags = Rflags.UintN;
41 #elif defined (MDE_CPU_IA32)
48 Eflags.UintN = SystemContext.SystemContextIa32->Eflags;
49 ASSERT (Eflags.Bits.IF);
55 SystemContext.SystemContextIa32->Eflags = Eflags.UintN;
59 #error "Unsupported CPU"
VOID DisableInterruptsOnIret(IN OUT EFI_SYSTEM_CONTEXT SystemContext)