efi_loader: efi_var_mem_notify_exit_boot_services
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 8 Sep 2020 10:51:27 +0000 (10:51 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 14 Sep 2020 21:28:52 +0000 (23:28 +0200)
commite5a31376acdd3f07a08be4433d9113ba61319204
treea798ff0f5a221927a4a97cf999be1cb566502f31
parent8479333ce7f44ff8cd9f00fbcb8ffa2a5b5763f9
efi_loader: efi_var_mem_notify_exit_boot_services

efi_var_mem_notify_exit_boot_services() is invoked when ExitBootServices()
is called by the UEFI payload.

efi_var_mem_notify_exit_boot_services() should not be defined as
__efi_runtime as it is invoking EFI_ENTRY() and EFI_EXIT() which themselves
are not __efi_runtime.

Fixes: f1f990a8c958 ("efi_loader: memory buffer for variables")
Fixes: e01aed47d6a0 ("efi_loader: Enable run-time variable support for tee based variables")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_var_mem.c