]> git.baikalelectronics.ru Git - uboot.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)
commit9921ce2da0bac210a860e1ca036dc140bf203aff
tree904af843e847777fc6d6f326be8b9e9e8df9e59f
parent2896625fc97e2e78a3dec4110c9d78ce58f1b900
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