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.c81 mReservedVectors = AllocatePool (sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
83 SetMem ((VOID *) mReservedVectors, sizeof (RESERVED_VECTORS_DATA) * CPU_INTERRUPT_NUM, 0xff); in InitializeCpuInterruptHandlers()
85 Status = ReadAndVerifyVectorInfo (VectorInfo, mReservedVectors, CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
92 …ternalInterruptHandler = AllocateZeroPool (sizeof (EFI_CPU_INTERRUPT_HANDLER) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
100 if (IdtEntryCount > CPU_INTERRUPT_NUM) { in InitializeCpuInterruptHandlers()
101 IdtEntryCount = CPU_INTERRUPT_NUM; in InitializeCpuInterruptHandlers()
106 IdtTable = AllocateZeroPool (sizeof (IA32_IDT_GATE_DESCRIPTOR) * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
112 InterruptEntryCode = AllocatePool (TemplateMap.ExceptionStubHeaderSize * CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
116 for (Index = 0; Index < CPU_INTERRUPT_NUM; Index ++) { in InitializeCpuInterruptHandlers()
127 UpdateIdtTable (IdtTable, &TemplateMap, CPU_INTERRUPT_NUM); in InitializeCpuInterruptHandlers()
[all …]
DCpuExceptionCommon.h29 #define CPU_INTERRUPT_NUM 256 macro