X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ArmPkg%2FLibrary%2FDefaultExceptionHandlerLib%2FArm%2FDefaultExceptionHandler.c;h=cc79cb2fa3017bdd33fe7de616099f18a84aeb16;hp=0b9da031b47d85ed7cad5474d7c16a3eb8451832;hb=5c8bc8be9e5e4665ab7e31558db9e3fe9990a13e;hpb=d05d5f6c85e926a0a21da4bd6d5afe766345d6a5;ds=sidebyside diff --git a/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c b/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c index 0b9da031b4..cc79cb2fa3 100644 --- a/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c +++ b/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c @@ -267,6 +267,8 @@ DefaultExceptionHandler ( DEBUG ((EFI_D_ERROR, "\n")); ASSERT (FALSE); + CpuDeadLoop (); // may return if executing under a debugger + // Clear the error registers that we have already displayed incase some one wants to keep going SystemContext.SystemContextArm->DFSR = 0; SystemContext.SystemContextArm->IFSR = 0;