[U-Boot] [PATCH v2 0/6] efi_loader: clean up runtime detaching
Heinrich Schuchardt
xypron.glpk at gmx.de
Fri Jun 28 11:22:13 UTC 2019
This patch series moves the detaching of variable services from
SetVirtualAddressMap() to ExitBootServices().
The return value of unimplemented runtime services is changed to
EFI_UNSUPPORTED.
A unit test for variable services at runtime is implmented. In the current
version it expects EFI_UNSUPPORTED.
v2
Do not add 'NULL' implementation for UEFI variables.
Separate efi_relocate_runtime_table() and efi_runtime_detach().
Heinrich Schuchardt (6):
efi_loader: move efi_query_variable_info()
efi_loader: initialization of variable services
efi_loader: clean up runtime detaching
efi_loader: let the variable driver patch out the runtime
efi_loader: unimplemented runtime services
efi_selftest: test variable services at runtime
include/efi_loader.h | 9 ++
lib/efi_loader/efi_boottime.c | 3 +-
lib/efi_loader/efi_runtime.c | 148 +++++++-----------
lib/efi_loader/efi_setup.c | 5 +
lib/efi_loader/efi_variable.c | 81 ++++++++++
lib/efi_selftest/Makefile | 1 +
.../efi_selftest_variables_runtime.c | 94 +++++++++++
7 files changed, 249 insertions(+), 92 deletions(-)
create mode 100644 lib/efi_selftest/efi_selftest_variables_runtime.c
--
2.20.1
More information about the U-Boot
mailing list