Home
last modified time | relevance | path

Searched refs:CPU_INTERRUPT_NUM (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DDxeException.c110 ReservedVectors = AllocatePool (sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
112 SetMem ((VOID *) ReservedVectors, sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM, 0xff); in InitializeCpuInterruptHandlers()
114 Status = ReadAndVerifyVectorInfo (VectorInfo, ReservedVectors, CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
121 …ternalInterruptHandler = AllocateZeroPool (sizeof (EFI_CPU_INTERRUPT_HANDLER) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
129 if (IdtEntryCount > CPU_INTERRUPT_NUM) { in InitializeCpuInterruptHandlers()
130 IdtEntryCount = CPU_INTERRUPT_NUM; in InitializeCpuInterruptHandlers()
135 IdtTable = AllocateZeroPool (sizeof (IA32_IDT_GATE_DESCRIPTOR) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
141 InterruptEntryCode = AllocatePool (TemplateMap.ExceptionStubHeaderSize * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
145 for (Index = 0; Index < CPU_INTERRUPT_NUM; Index ++) { in InitializeCpuInterruptHandlers()
156 mExceptionHandlerData.IdtEntryCount = CPU_INTERRUPT_NUM; in InitializeCpuInterruptHandlers()
[all …]
DCpuExceptionCommon.h29 #define CPU_INTERRUPT_NUM 256 macro