
This patch series fixes several errors in the the headers of the system table, the boot services table, and the runtime services table.
The array used for the configuration tables is allocated at runtime.
A unit test for InstallConfigurationTable() is provided.
The patch series depends on Bin's efi_loader: Increase number of configuration tables to 16 https://lists.denx.de/pipermail/u-boot/2018-June/333064.html
v2: no need to prefix VERSION, PATCHLEVEL by 0x0, 0x is sufficient
Heinrich Schuchardt (7): efi_loader: specify UEFI spec revision efi_loader: correct EFI_RUNTIME_SERVICES_SIGNATURE efi_loader: correct headersize EFI tables efi_loader: provide firmware revision efi_loader: calculate crc32 for EFI tables efi_loader: allocate configuration table array efi_selftest: test InstallConfigurationTable()
cmd/bootefi.c | 5 + include/efi_api.h | 9 +- include/efi_loader.h | 5 + lib/efi_loader/Makefile | 3 + lib/efi_loader/efi_boottime.c | 83 ++++--- lib/efi_loader/efi_runtime.c | 4 +- lib/efi_selftest/Makefile | 1 + lib/efi_selftest/efi_selftest_config_table.c | 223 +++++++++++++++++++ 8 files changed, 300 insertions(+), 33 deletions(-) create mode 100644 lib/efi_selftest/efi_selftest_config_table.c