If an exception occurs in a UEFI loaded image we need the start address of
the image to determine the relocation offset.

This patch series adds the necessary lines after the registers in the crash
dump. A possible output would be:

UEFI image
start 0x7fdb4000, size 0xa7b60
pc offset 0x72ca
/\snp.efi

With the offset 0x72ca we can now find the relevant instruction in the
disassembled 'snp.efi' binary.

Heinrich Schuchardt (2):
  efi_loader: new functions to print loaded image information
  arm: print information about loaded UEFI images

 arch/arm/lib/interrupts.c         | 17 +++++++++++++++
 include/efi_loader.h              |  4 ++++
 lib/efi_loader/efi_image_loader.c | 45 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+)

-- 
2.11.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to