]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: enable QueryVariableInfo at runtime for file backed variables
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 25 Apr 2024 05:18:19 +0000 (08:18 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 1 May 2024 05:40:05 +0000 (07:40 +0200)
commit9677192c145f2144592892f13de0e2069bcdf4ba
treee9ef977029bff2c108c0eccba5548ac33b18f1d3
parent5025d029a95ff3865875684160da08d2f40e5133
efi_loader: enable QueryVariableInfo at runtime for file backed variables

Since commit c28d32f946f0 ("efi_loader: conditionally enable SetvariableRT")
we are enabling the last bits of missing runtime services.
Add support for QueryVariableInfo which we already support at boottime
and we just need to mark some fucntions available at runtime and move
some checks around.

It's worth noting that pointer checks for maxmimum and remaining
variable storage aren't when we store variables on the RPMB, since the
Secure World backend is already performing them.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_runtime.c
lib/efi_loader/efi_var_common.c
lib/efi_loader/efi_variable.c
lib/efi_loader/efi_variable_tee.c
lib/efi_selftest/efi_selftest_variables_runtime.c