/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
X86ReadIdtr.c | 21 Reads the current Interrupt Descriptor Table Register(IDTR) descriptor.
23 Reads and returns the current IDTR descriptor and returns it in Idtr. This
26 If Idtr is NULL, then ASSERT().
28 @param Idtr The pointer to a IDTR descriptor.
34 OUT IA32_DESCRIPTOR *Idtr
37 ASSERT (Idtr != NULL);
38 InternalX86ReadIdtr (Idtr);
|
X86WriteIdtr.c | 21 Writes the current Interrupt Descriptor Table Register(IDTR) descriptor.
23 Writes the current IDTR descriptor and returns it in Idtr. This function is
26 If Idtr is NULL, then ASSERT().
28 @param Idtr The pointer to a IDTR descriptor.
34 IN CONST IA32_DESCRIPTOR *Idtr
37 ASSERT (Idtr != NULL);
38 InternalX86WriteIdtr (Idtr);
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
ReadIdtr.c | 22 Reads and returns the current IDTR descriptor and returns it in Idtr. This
25 @param Idtr The pointer to a IDTR descriptor.
31 OUT IA32_DESCRIPTOR *Idtr
35 mov eax, Idtr
|
WriteIdtr.c | 21 Writes the current IDTR descriptor and returns it in Idtr. This function is
24 @param Idtr The pointer to a IDTR descriptor.
30 IN CONST IA32_DESCRIPTOR *Idtr
34 mov eax, Idtr
|
GccInline.c | 1072 Reads and returns the current IDTR descriptor and returns it in Idtr. This
1075 @param Idtr The pointer to a IDTR descriptor.
1081 OUT IA32_DESCRIPTOR *Idtr
1086 : "=m" (*Idtr)
1094 Writes the current IDTR descriptor and returns it in Idtr. This function is
1097 @param Idtr The pointer to a IDTR descriptor. [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
X86ReadIdtr.c | 28 Reads and returns the current IDTR descriptor and returns it in Idtr. This
31 If Idtr is NULL, then ASSERT().
33 @param Idtr Pointer to a IDTR descriptor.
39 OUT IA32_DESCRIPTOR *Idtr
42 ASSERT (Idtr != NULL);
43 InternalX86ReadIdtr (Idtr);
|
X86WriteIdtr.c | 28 Writes the current IDTR descriptor and returns it in Idtr. This function is
31 If Idtr is NULL, then ASSERT().
33 @param Idtr Pointer to a IDTR descriptor.
39 IN CONST IA32_DESCRIPTOR *Idtr
42 ASSERT (Idtr != NULL);
43 InternalX86WriteIdtr (Idtr);
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiServicesTablePointerLibIdt/ |
PeiServicesTablePointer.c | 44 IA32_DESCRIPTOR Idtr;
46 AsmReadIdtr (&Idtr);
47 PeiServices = (CONST EFI_PEI_SERVICES **) (*(UINTN*)(Idtr.Base - sizeof (UINTN)));
71 IA32_DESCRIPTOR Idtr;
74 AsmReadIdtr (&Idtr);
75 (*(UINTN*)(Idtr.Base - sizeof (UINTN))) = (UINTN)PeiServicesTablePointer;
101 IA32_DESCRIPTOR Idtr;
108 AsmReadIdtr (&Idtr);
109 PeiServices = (CONST EFI_PEI_SERVICES **) (*(UINTN*)(Idtr.Base - sizeof (UINTN)));
117 EFI_SIZE_TO_PAGES(Idtr.Limit + 1 + sizeof (UINTN)), [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
ReadIdtr.c | 20 OUT IA32_DESCRIPTOR *Idtr
24 mov eax, Idtr
|
WriteIdtr.c | 20 IN CONST IA32_DESCRIPTOR *Idtr
24 mov eax, Idtr
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/BaseFspApiLib/X64/ |
DispatchExecute.c | 93 IA32_DESCRIPTOR Idtr;
96 // Idtr might be changed inside of FSP. 32bit FSP only knows the <4G address.
97 // If IDTR.Base is >4G, FSP can not handle. So we need save/restore IDTR here for X64 only.
98 // Interrupt is already disabled here, so it is safety to update IDTR.
100 AsmReadIdtr (&Idtr);
102 AsmWriteIdtr (&Idtr);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/ |
PeiServicesTablePointer.c | 40 IA32_DESCRIPTOR Idtr;
43 AsmReadIdtr (&Idtr);
44 PeiServices = (EFI_PEI_SERVICES **)(UINTN)(*(UINTN*)(Idtr.Base - sizeof (UINTN)));
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/ |
SmmDebugAgentLib.c | 188 IA32_DESCRIPTOR Idtr;
338 AsmReadIdtr ((IA32_DESCRIPTOR *) &Idtr);
339 IdtEntryCount = (UINT16) ((Idtr.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR));
341 Idtr.Limit = (UINT16) (sizeof (IA32_IDT_GATE_DESCRIPTOR) * 33 - 1);
342 Idtr.Base = (UINTN) &mIdtEntryTable;
343 ZeroMem (&mIdtEntryTable, Idtr.Limit + 1);
344 AsmWriteIdtr ((IA32_DESCRIPTOR *) &Idtr);
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/ |
DxeDebugAgentLib.c | 252 IA32_DESCRIPTOR Idtr;
270 AsmReadIdtr ((IA32_DESCRIPTOR *) &Idtr);
271 IdtEntryCount = (UINT16) ((Idtr.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR));
277 CopyMem (&mIdtEntryTable, (VOID *) Idtr.Base, Idtr.Limit + 1);
281 Idtr.Limit = (UINT16) (sizeof (IA32_IDT_GATE_DESCRIPTOR) * 33 - 1);
282 Idtr.Base = (UINTN) &mIdtEntryTable;
283 AsmWriteIdtr ((IA32_DESCRIPTOR *) &Idtr);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/ |
AcpiS3Context.h | 59 IA32_DESCRIPTOR Idtr;
|
/device/linaro/bootloader/edk2/OvmfPkg/AcpiS3SaveDxe/ |
AcpiS3Save.c | 399 IA32_DESCRIPTOR *Idtr;
421 Idtr = (IA32_DESCRIPTOR *)(IdtGate + 0x100);
422 Idtr->Base = (UINTN)IdtGate;
423 Idtr->Limit = (UINT16)(sizeof(IA32_IDT_GATE_DESCRIPTOR) * 0x100 - 1);
424 AcpiS3Context->IdtrProfile = (EFI_PHYSICAL_ADDRESS)(UINTN)Idtr;
428 (VOID *)(UINTN)Idtr,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ia32/ |
ReadIdt.S | 38 # Abstract: Returns physical address of IDTR
57 # Abstract: Returns Limit of IDTR
|
ReadIdt.asm | 35 ; Abstract: Returns physical address of IDTR
50 ; Abstract: Returns Limit of IDTR
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Include/Ia32/ |
ProcessorContext.h | 33 #define SOFT_DEBUGGER_REGISTER_IDTR0 0x0B // the low 32bit of IDTR
34 #define SOFT_DEBUGGER_REGISTER_IDTR1 0x0C // the high 32bot of IDTR
184 UINT32 Idtr[2];
275 UINT64 Idtr[2];
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/Ia32/ |
ArchExceptionHandler.c | 177 "GDTR - %08x %08x, IDTR - %08x %08x\n",
180 SystemContext.SystemContextIa32->Idtr[0],
181 SystemContext.SystemContextIa32->Idtr[1]
|
/hardware/intel/bootstub/ |
e820_bios.S | 55 idtr: label 75 /* Save ESP, GDTR and IDTR registers */ 91 lidtl %cs:idtr
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
efi32.asm | 53 sidt fword ptr [Idtr] ; get fword address of IDT
59 mov esi, [offset Idtr + 2]
86 ; mov eax, [offset Idtr + 2]
144 movzx eax, word ptr [Idtr] ; get size of IDT
146 add eax, dword ptr [Idtr + 2] ; add to base of IDT to get location of memory map...
576 Idtr df 0
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/ |
AcpiS3Save.c | 509 IA32_DESCRIPTOR *Idtr;
536 Idtr = (IA32_DESCRIPTOR *)(IdtGate + 0x100);
537 Idtr->Base = (UINTN)IdtGate;
538 Idtr->Limit = (UINT16)(sizeof(IA32_IDT_GATE_DESCRIPTOR) * 0x100 - 1);
539 AcpiS3Context->IdtrProfile = (EFI_PHYSICAL_ADDRESS)(UINTN)Idtr;
543 (VOID *)(UINTN)Idtr,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Thunk16/ |
X86Thunk.c | 85 disabled because of GDTR and IDTR manipulations.
320 disabled because of GDTR and IDTR manipulations.
361 disabled because of GDTR and IDTR manipulations.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/CapsulePei/X64/ |
X64Entry.c | 150 IA32_DESCRIPTOR Idtr;
160 AsmReadIdtr ((IA32_DESCRIPTOR *) &Idtr);
164 PageFaultContext = (PAGE_FAULT_CONTEXT *) (UINTN) (Idtr.Base - sizeof (PAGE_FAULT_CONTEXT));
|