43 UINT32 DefaultSize : 1;
44 UINT32 Granularity : 1;
53 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
56 { 0xFFFF, 0, 0, 0xB, 1, 0, 1, 0xF, 0, 0, 1, 1, 0 }
59 { 0xFFFF, 0, 0, 0xB, 1, 0, 1, 0xF, 0, 1, 0, 1, 0 }
62 { 0xFFFF, 0, 0, 0x3, 1, 0, 1, 0xF, 0, 0, 1, 1, 0 }
65 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
73 sizeof (mGdtEntries) - 1,
94 IN IA32_DESCRIPTOR *InternalGdtr
115 IA32_DESCRIPTOR Idtr;
127 Status = (Status & ~(BIT31 + BIT30)) |
LShiftU64 (Status & (BIT31 + BIT30), 32);
153 Status = EntryFunc ((VOID *)(
UINTN)Param1, (VOID *)(
UINTN)Param2);
UINT64 EFIAPI LShiftU64(IN UINT64 Operand, IN UINTN Count)
EFI_STATUS Execute32BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2)
EFI_STATUS Execute64BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2)
EFI_STATUS(EFIAPI * FSP_FUNCTION)(IN VOID *Param1, IN VOID *Param2)
#define GLOBAL_REMOVE_IF_UNREFERENCED
UINT32 EFIAPI AsmExecute32BitCode(IN UINT64 Function, IN UINT64 Param1, IN UINT64 Param2, IN IA32_DESCRIPTOR *InternalGdtr)
VOID EFIAPI AsmReadIdtr(OUT IA32_DESCRIPTOR *Idtr)
VOID EFIAPI AsmWriteIdtr(IN CONST IA32_DESCRIPTOR *Idtr)