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; } -