[U-Boot] [PATCH 0/3] efi_loader: correctly initialize system table crc32
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Jul 5 20:09:52 UTC 2018
The crc32 of the system table has to be calculated after all fields have
been set.
Adjust the signature of CalculateCrc32().
Provide a unit test that checks the crc of the system table, the runtime
services table, and the boot sevices table before and after
ExitBootServices().
Heinrich Schuchardt (3):
efi_loader: correctly initialize system table crc32
efi_loader: correct signature of CalculateCrc32()
efi_selftest: unit test for CalculateCrc32()
cmd/bootefi.c | 10 +-
include/efi_api.h | 4 +-
lib/efi_loader/efi_boottime.c | 6 +-
lib/efi_selftest/Makefile | 1 +
lib/efi_selftest/efi_selftest_crc32.c | 141 ++++++++++++++++++++++++++
5 files changed, 152 insertions(+), 10 deletions(-)
create mode 100644 lib/efi_selftest/efi_selftest_crc32.c
--
2.18.0
More information about the U-Boot
mailing list