mbox series

[edk2,0/3] ArmPkg: increase robustness of the crash handler

Message ID 1490043181-20031-1-git-send-email-ard.biesheuvel@linaro.org
Headers show
Series ArmPkg: increase robustness of the crash handler | expand

Message

Ard Biesheuvel March 20, 2017, 8:52 p.m. UTC
Make the default exception handler deal with corrupted SP or PC registers,
by switching to the EL0 stack pointer for sync exceptions, and walking the
call stack even if PC is 0x0 or otherwise invalid.

Ard Biesheuvel (3):
  ArmPkg/DefaultExceptionHandlerLib: add missing GUID to .inf
  ArmPkg/DefaultExceptionHandlerLib: walk call stack unconditionally
  ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

 ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c                    | 17 +++-
 ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S                    | 86 ++++++++++++--------
 ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf                           |  5 +-
 ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c  | 56 +++++++------
 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf     |  3 +
 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf |  3 +
 6 files changed, 107 insertions(+), 63 deletions(-)

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel