Home
last modified time | relevance | path

Searched refs:IdtTable (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/DxeIplPeim/Ia32/
DDxeLoadFunc.c27 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/
DDxeException.c100 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()
DPeiDxeSmmCpuException.c129 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()
DSecPeiCpuException.c78 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()
DCpuExceptionCommon.h191 IN IA32_IDT_GATE_DESCRIPTOR *IdtTable,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ia32/
DPlDebugSupport.c36 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/
DSecMain.c98 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()
DSecMain.h41 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
/device/linaro/bootloader/edk2/IntelFsp2Pkg/FspSecCore/
DSecMain.c98 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()
DSecMain.h41 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
/device/linaro/bootloader/edk2/UefiCpuPkg/SecCore/
DSecMain.c127 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()
DSecMain.h49 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
/device/linaro/bootloader/edk2/CorebootModulePkg/SecCore/
DSecMain.c110 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()
DSecMain.h44 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspWrapperSecCore/
DSecMain.c110 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()
DSecMain.h47 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/FspInitPei/
DSecMain.c119 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()
DSecMain.h48 UINT64 IdtTable[SEC_IDT_ENTRY_COUNT]; member
/device/linaro/bootloader/edk2/OvmfPkg/Sec/
DSecMain.c40 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()