Matt DeVillier has uploaded this change for review. ( https://review.coreboot.org/c/edk2/+/58779 )
Change subject: UefiCpuPkg: Ignore DEBUG interrupt (happens on gaze14) ......................................................................
UefiCpuPkg: Ignore DEBUG interrupt (happens on gaze14)
Signed-off-by: Matt DeVillier matt.devillier@gmail.com Change-Id: I64705a5b751f4bdb242459daf1ba132b827a5c7c --- M UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/edk2 refs/changes/79/58779/1
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c index 892d349..1b6d46b 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c @@ -129,7 +129,7 @@ // // 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 (); } } @@ -311,4 +311,3 @@ ExternalInterruptHandler[InterruptType] = InterruptHandler; return EFI_SUCCESS; } -