From df3e6a4032aa12105e846a0b17ca6479365a5b0c Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 26 Jun 2019 14:20:11 -0600 Subject: [PATCH] UefiCpuPkg: Ignore DEBUG interrupt (happens on gaze14) --- .../Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c index 6a2670d559..65bfaceb6f 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c @@ -111,7 +111,7 @@ CommonExceptionHandlerWorker ( // // Enter a dead loop if needn't to execute old IDT handler further // - if (ReservedVectors[ExceptionType].Attribute != EFI_VECTOR_HANDOFF_HOOK_BEFORE) { + if (ReservedVectors[ExceptionType].Attribute != EFI_VECTOR_HANDOFF_HOOK_BEFORE && ExceptionType != EXCEPT_IA32_DEBUG) { CpuDeadLoop (); } } @@ -293,4 +293,3 @@ RegisterCpuInterruptHandlerWorker ( ExternalInterruptHandler[InterruptType] = InterruptHandler; return EFI_SUCCESS; } -