[PATCH 0/4] efi_loader: fix EFI_LOAD_FILE2_PROTOCOL

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 3 13:57:12 CEST 2020


The EFI_LOAD_FILE2_PROTOCOL is used to provide an initial RAM disk to the
Linux EFI stub.

The following problems in the implementation are addressed:

* illegal free()
* insufficient function descriptions
* CRC32 in unit test printed as decimal instead of hexadecimal

Heinrich Schuchardt (4):
  efi_loader: description EFI_LOAD_FILE2_PROTOCOL
  efi_loader: illegal free in EFI_LOAD_FILE2_PROTOCOL
  efi_selftest: enable printing hexadecimal numbers
  efi_selftest: print CRC32 of initrd as hexadecimal

 lib/efi_loader/efi_load_initrd.c            | 59 +++++++++++----------
 lib/efi_selftest/efi_selftest_console.c     | 35 +++++++-----
 lib/efi_selftest/efi_selftest_load_initrd.c |  2 +-
 3 files changed, 55 insertions(+), 41 deletions(-)

--
2.28.0



More information about the U-Boot mailing list