]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: don't use EFI_LOADER_DATA internally
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 29 Nov 2022 15:00:41 +0000 (16:00 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Dec 2022 18:17:24 +0000 (19:17 +0100)
commit1a12796292c026d6e86cf533eaa7a121776236a4
tree904af843e847777fc6d6f326be8b9e9e8df9e59f
parent1702055eb3010a9bd473f49565613899177aeb36
efi_loader: don't use EFI_LOADER_DATA internally

EFI_LOADER_DATA/CODE is reserved for EFI applications.
Memory allocated by U-Boot for internal usage should be
EFI_BOOT_SERVICES_DATA or _CODE or EFI_RUNTIME_SERVICES_DATA or _CODE.

Reported-by: François-Frédéric Ozog <ff@ozog.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: François-Frédéric Ozog <ff@ozog.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/efidebug.c
lib/efi_loader/efi_memory.c