Home
last modified time | relevance | path

Searched refs:IdtEntryCount (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DSecPeiCpuException.c75 UINTN IdtEntryCount; in InitializeCpuExceptionHandlers() local
93 IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR); in InitializeCpuExceptionHandlers()
94 if (IdtEntryCount > CPU_EXCEPTION_NUM) { in InitializeCpuExceptionHandlers()
98 IdtEntryCount = CPU_EXCEPTION_NUM; in InitializeCpuExceptionHandlers()
107 for (Index = 0; Index < IdtEntryCount; Index ++) { in InitializeCpuExceptionHandlers()
DPeiDxeSmmCpuException.c145 for (Index = 0; Index < ExceptionHandlerData->IdtEntryCount; Index ++) { in UpdateIdtTable()
210 UINTN IdtEntryCount; in InitializeCpuExceptionHandlersWorker() local
228 IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR); in InitializeCpuExceptionHandlersWorker()
229 if (IdtEntryCount > CPU_EXCEPTION_NUM) { in InitializeCpuExceptionHandlersWorker()
233 IdtEntryCount = CPU_EXCEPTION_NUM; in InitializeCpuExceptionHandlersWorker()
240 ExceptionHandlerData->IdtEntryCount = IdtEntryCount; in InitializeCpuExceptionHandlersWorker()
274 EnabledInterruptNum = ExceptionHandlerData->IdtEntryCount; in RegisterCpuInterruptHandlerWorker()
DDxeException.c102 UINTN IdtEntryCount; in InitializeCpuInterruptHandlers() local
128 IdtEntryCount = (IdtDescriptor.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR); in InitializeCpuInterruptHandlers()
129 if (IdtEntryCount > CPU_INTERRUPT_NUM) { in InitializeCpuInterruptHandlers()
130 IdtEntryCount = CPU_INTERRUPT_NUM; in InitializeCpuInterruptHandlers()
137 CopyMem (IdtTable, (VOID *)IdtDescriptor.Base, sizeof (IA32_IDT_GATE_DESCRIPTOR) * IdtEntryCount); in InitializeCpuInterruptHandlers()
156 mExceptionHandlerData.IdtEntryCount = CPU_INTERRUPT_NUM; in InitializeCpuInterruptHandlers()
DCpuExceptionCommon.h49 UINTN IdtEntryCount; member
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/
DSmmDebugAgentLib.c190 UINT16 IdtEntryCount; in InitializeDebugAgent() local
347 IdtEntryCount = (UINT16) ((Idtr.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR)); in InitializeDebugAgent()
348 if (IdtEntryCount < 33) { in InitializeDebugAgent()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/
DDxeDebugAgentLib.c253 UINT16 IdtEntryCount; in SetupDebugAgentEnvironment() local
271 IdtEntryCount = (UINT16) ((Idtr.Limit + 1) / sizeof (IA32_IDT_GATE_DESCRIPTOR)); in SetupDebugAgentEnvironment()
272 if (IdtEntryCount < 33) { in SetupDebugAgentEnvironment()