X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ArmPkg%2FDrivers%2FCpuDxe%2FException.c;h=9910bd2b881a5d730784f243cb63ed9446d70e9d;hb=d213712d4f858efd5cb43faa39c6d940829c9363;hp=8859ca8667477fac4f38ba0a9bdf5446fdc89b63;hpb=2127579be198425ffd94e2b0be68f66d0dba1a5a;p=mirror_edk2.git diff --git a/ArmPkg/Drivers/CpuDxe/Exception.c b/ArmPkg/Drivers/CpuDxe/Exception.c index 8859ca8667..9910bd2b88 100644 --- a/ArmPkg/Drivers/CpuDxe/Exception.c +++ b/ArmPkg/Drivers/CpuDxe/Exception.c @@ -15,8 +15,6 @@ #include "CpuDxe.h" #include -extern BOOLEAN gExceptionContext; - VOID ExceptionHandlersStart ( VOID @@ -142,8 +140,7 @@ CommonCExceptionHandler ( { BOOLEAN Dispatched = FALSE; - gExceptionContext = TRUE; - + if (ExceptionType <= MAX_ARM_EXCEPTION) { if (gDebuggerExceptionHandlers[ExceptionType]) { // @@ -162,8 +159,6 @@ CommonCExceptionHandler ( ASSERT (FALSE); } - gExceptionContext = FALSE; - if (Dispatched) { // // We did work so this was an expected ExceptionType