/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/ |
D | DxeLoadFunc.c | 27 X64_IDT_GATE_DESCRIPTOR IdtTable[IDT_ENTRY_COUNT]; member 225 X64_IDT_GATE_DESCRIPTOR *IdtTable; in HandOffToDxeCore() local 295 IdtTable = IdtTableForX64->IdtTable; in HandOffToDxeCore() 297 IdtTable[Index].Ia32IdtEntry.Bits.GateType = 0x8e; in HandOffToDxeCore() 298 IdtTable[Index].Ia32IdtEntry.Bits.Reserved_0 = 0; in HandOffToDxeCore() 299 IdtTable[Index].Ia32IdtEntry.Bits.Selector = SYS_CODE64_SEL; in HandOffToDxeCore() 301 IdtTable[Index].Ia32IdtEntry.Bits.OffsetLow = (UINT16) VectorAddress; in HandOffToDxeCore() 302 IdtTable[Index].Ia32IdtEntry.Bits.OffsetHigh = (UINT16) (RShiftU64 (VectorAddress, 16)); in HandOffToDxeCore() 303 IdtTable[Index].Offset32To63 = (UINT32) (RShiftU64 (VectorAddress, 32)); in HandOffToDxeCore() 304 IdtTable[Index].Reserved = 0; in HandOffToDxeCore() [all …]
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/ |
D | DxeException.c | 100 IA32_IDT_GATE_DESCRIPTOR *IdtTable; in InitializeCpuInterruptHandlers() local 135 IdtTable = AllocateZeroPool (sizeof (IA32_IDT_GATE_DESCRIPTOR) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers() 136 ASSERT (IdtTable != NULL); in InitializeCpuInterruptHandlers() 137 CopyMem (IdtTable, (VOID *)IdtDescriptor.Base, sizeof (IA32_IDT_GATE_DESCRIPTOR) * IdtEntryCount); in InitializeCpuInterruptHandlers() 161 UpdateIdtTable (IdtTable, &TemplateMap, &mExceptionHandlerData); in InitializeCpuInterruptHandlers() 166 IdtDescriptor.Base = (UINTN) IdtTable; in InitializeCpuInterruptHandlers()
|
D | PeiDxeSmmCpuException.c | 129 IN IA32_IDT_GATE_DESCRIPTOR *IdtTable, in UpdateIdtTable() argument 146 IdtTable[Index].Bits.Selector = CodeSegment; in UpdateIdtTable() 175 ReservedVectors[Index].ExceptonHandler = ArchGetIdtHandler (&IdtTable[Index]); in UpdateIdtTable() 184 ArchUpdateIdtEntry (&IdtTable[Index], InterruptHandler); in UpdateIdtTable() 212 IA32_IDT_GATE_DESCRIPTOR *IdtTable; in InitializeCpuExceptionHandlersWorker() local 236 IdtTable = (IA32_IDT_GATE_DESCRIPTOR *) IdtDescriptor.Base; in InitializeCpuExceptionHandlersWorker() 241 UpdateIdtTable (IdtTable, &TemplateMap, ExceptionHandlerData); in InitializeCpuExceptionHandlersWorker()
|
D | SecPeiCpuException.c | 78 IA32_IDT_GATE_DESCRIPTOR *IdtTable; in InitializeCpuExceptionHandlers() local 106 IdtTable = (IA32_IDT_GATE_DESCRIPTOR *)IdtDescriptor.Base; in InitializeCpuExceptionHandlers() 108 IdtTable[Index].Bits.Selector = CodeSegment; in InitializeCpuExceptionHandlers() 122 ArchUpdateIdtEntry (&IdtTable[Index], InterruptHandler); in InitializeCpuExceptionHandlers()
|
D | CpuExceptionCommon.h | 191 IN IA32_IDT_GATE_DESCRIPTOR *IdtTable,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/ |
D | PlDebugSupport.c | 36 IA32_IDT_GATE_DESCRIPTOR *IdtTable; in ReadIdtGateDescriptor() local 39 IdtTable = (IA32_IDT_GATE_DESCRIPTOR *) IdtrValue.Base; in ReadIdtGateDescriptor() 41 …CopyMem ((VOID *) IdtGateDescriptor, (VOID *) &(IdtTable)[Vector], sizeof (IA32_IDT_GATE_DESCRIPTO… in ReadIdtGateDescriptor() 58 IA32_IDT_GATE_DESCRIPTOR *IdtTable; in WriteIdtGateDescriptor() local 61 IdtTable = (IA32_IDT_GATE_DESCRIPTOR *) IdtrValue.Base; in WriteIdtGateDescriptor() 63 …CopyMem ((VOID *) &(IdtTable)[Vector], (VOID *) IdtGateDescriptor, sizeof (IA32_IDT_GATE_DESCRIPTO… in WriteIdtGateDescriptor()
|
/device/linaro/bootloader/edk2/IntelFspPkg/FspSecCore/ |
D | SecMain.c | 98 CopyMem ((VOID*)&IdtTableInStack.IdtTable[Index], (VOID*)&ExceptionHandler, sizeof (UINT64)); in SecStartup() 101 IdtDescriptor.Base = (UINTN) &IdtTableInStack.IdtTable; in SecStartup() 102 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecStartup()
|
D | SecMain.h | 41 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/ |
D | SecMain.c | 98 CopyMem ((VOID*)&IdtTableInStack.IdtTable[Index], (VOID*)&ExceptionHandler, sizeof (UINT64)); in SecStartup() 101 IdtDescriptor.Base = (UINTN) &IdtTableInStack.IdtTable; in SecStartup() 102 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecStartup()
|
D | SecMain.h | 41 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
|
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/ |
D | SecMain.c | 127 CopyMem ((VOID*)&IdtTableInStack.IdtTable[Index], (VOID*)&mIdtEntryTemplate, sizeof (UINT64)); in SecStartup() 130 IdtDescriptor.Base = (UINTN) &IdtTableInStack.IdtTable; in SecStartup() 131 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecStartup()
|
D | SecMain.h | 49 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
|
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/ |
D | SecMain.c | 110 CopyMem ((VOID*)&IdtTableInStack.IdtTable[Index], (VOID*)&mIdtEntryTemplate, sizeof (UINT64)); in SecStartup() 113 IdtDescriptor.Base = (UINTN) &IdtTableInStack.IdtTable; in SecStartup() 114 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecStartup()
|
D | SecMain.h | 44 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/ |
D | SecMain.c | 110 CopyMem ((VOID*)&IdtTableInStack.IdtTable[Index], (VOID*)&mIdtEntryTemplate, sizeof (UINT64)); in SecStartup() 113 IdtDescriptor.Base = (UINTN) &IdtTableInStack.IdtTable; in SecStartup() 114 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecStartup()
|
D | SecMain.h | 47 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/ |
D | SecMain.c | 119 CopyMem ((VOID*)&IdtTableInStack.IdtTable[Index], (VOID*)&mIdtEntryTemplate, sizeof (UINT64)); in SecStartup() 122 IdtDescriptor.Base = (UINTN) &IdtTableInStack.IdtTable; in SecStartup() 123 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecStartup()
|
D | SecMain.h | 48 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
|
/device/linaro/bootloader/edk2/OvmfPkg/Sec/ |
D | SecMain.c | 40 IA32_IDT_GATE_DESCRIPTOR IdtTable[SEC_IDT_ENTRY_COUNT]; member 765 CopyMem (&IdtTableInStack.IdtTable[Index], &mIdtEntryTemplate, sizeof (mIdtEntryTemplate)); in SecCoreStartupWithStack() 768 IdtDescriptor.Base = (UINTN)&IdtTableInStack.IdtTable; in SecCoreStartupWithStack() 769 IdtDescriptor.Limit = (UINT16)(sizeof (IdtTableInStack.IdtTable) - 1); in SecCoreStartupWithStack()
|