MdeModulePkg: CpuExceptionHandlerLib: Define X86_CPU_INTERRUPT_NUM

There are currently many definitions for the number of interrupts
for X86 processors. Centralize this definition in
CpuExceptionHandlerLib.

Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
This commit is contained in:
Oliver Smith-Denny 2026-03-06 09:23:29 -08:00 committed by mergify[bot]
parent 3657a4fc9f
commit 3ed9aceeb8

View file

@ -12,6 +12,8 @@
#include <Ppi/VectorHandoffInfo.h>
#include <Protocol/Cpu.h>
#define X86_CPU_INTERRUPT_NUM 256
/**
Initializes all CPU exceptions entries and provides the default exception handlers.