]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit979c7f0c3b19b2eb477f7fcbc0d56fb73232504c
treea798ff0f5a221927a4a97cf999be1cb566502f31
parent776fd6fa01bbf07fe911d46776c17f21e0f22f4a
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: ad463b421237 ("efi_loader: memory buffer for variables")
Fixes: 6f366fa9480d ("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