[U-Boot] [PATCH 0/3] fix GetMemoryMap()
Heinrich Schuchardt
xypron.glpk at gmx.de
Sun Nov 4 18:48:58 UTC 2018
The sandbox uses two different address rooms - one used internally by the
sandbox and one usable for EFI.
In efi_get_memory_map() we have to map the returned physical start
addresses to EFI usable addresses.
Add a unit test.
Enable building the sandbox with CONFIG_EFI_SELFTEST=y.
Heinrich Schuchardt (3):
efi_loader: fix GetMemoryMap()
efi_selftest: add test for memory allocation
efi_selftest: building sandbox with EFI_SELFTEST
configs/sandbox_defconfig | 1 -
lib/efi_loader/efi_memory.c | 5 +
lib/efi_selftest/Kconfig | 2 +-
lib/efi_selftest/Makefile | 1 +
lib/efi_selftest/efi_selftest_memory.c | 163 +++++++++++++++++++++++++
5 files changed, 170 insertions(+), 2 deletions(-)
create mode 100644 lib/efi_selftest/efi_selftest_memory.c
--
2.19.1
More information about the U-Boot
mailing list