From 3ed9aceeb8e6b1175403b42ef3f97a2547e93c89 Mon Sep 17 00:00:00 2001 From: Oliver Smith-Denny Date: Fri, 6 Mar 2026 09:23:29 -0800 Subject: [PATCH] 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 --- MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h b/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h index 8fc6f7f6dc..ed9ed3087b 100644 --- a/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h +++ b/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h @@ -12,6 +12,8 @@ #include #include +#define X86_CPU_INTERRUPT_NUM 256 + /** Initializes all CPU exceptions entries and provides the default exception handlers.