[U-Boot] [PATCH v2 0/6] efi_loader: fixes for loaded image protocol

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Apr 3 20:29:29 UTC 2018


This patch series fixes various bugs in the handling of loaded images.

The following new functionality is provided:

If a crash occurs the relocation information of loaded EFI images is
displayed.

---
v2
	Merge with "efi_loader: print information about loaded UEFI images"
	patch series.

	GRUB does not allow the relocated address to be used as ImageBase
	in the loaded image information. So the relocation address has to
	be stored in an additional field.
---

Heinrich Schuchardt (6):
  efi_loader: use efi_uintn_t for LoadImage
  efi_loader: save image relocation address and size
  efi_loader: ImageSize must be multiple of SectionAlignment
  efi_loader: correct types for EFI_LOADED_IMAGE_PROTOCOL
  efi_loader: new functions to print loaded image information
  arm: print information about loaded UEFI images

 arch/arm/lib/interrupts.c         | 17 +++++++++++++
 include/efi_api.h                 |  8 ++++---
 include/efi_loader.h              |  4 ++++
 lib/efi_loader/efi_boottime.c     |  4 ++--
 lib/efi_loader/efi_image_loader.c | 50 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 78 insertions(+), 5 deletions(-)

-- 
2.16.3



More information about the U-Boot mailing list