u-boot/lib/efi_loader
AKASHI Takahiro 6b95b38c41 efi_loader: rework bootmgr/bootefi using load_image API
In the current implementation, bootefi command and EFI boot manager
don't use load_image API, instead, use more primitive and internal
functions. This will introduce duplicated code and potentially
unknown bugs as well as inconsistent behaviours.

With this patch, do_efibootmgr() and do_boot_efi() are completely
overhauled and re-implemented using load_image API.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>

Use efi_root as parent handle for the loaded image.
LoadImage() should be called with BootPolicy = true by the boot manager.
Avoid duplicate free_pool().
Eliminate variable memdp which is not needed after anymore due to
"efi_loader: correctly split device path of loaded image".

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-04-23 00:37:28 +02:00
..
.gitignore lib: gitignore *.elf and *.so generated by efi_loader 2017-01-09 10:30:24 -05:00
efi_acpi.c efi_loader: Install ACPI configuration tables 2018-07-02 09:23:28 +08:00
efi_bootmgr.c efi_loader: rework bootmgr/bootefi using load_image API 2019-04-23 00:37:28 +02:00
efi_boottime.c efi_loader: rework bootmgr/bootefi using load_image API 2019-04-23 00:37:28 +02:00
efi_console.c efi_loader: correct CTRL-A - CTRL-Z console input 2019-04-07 15:11:33 +02:00
efi_device_path.c efi_loader: efi_setup_loaded_image() handle missing file name 2019-04-23 00:37:27 +02:00
efi_device_path_to_text.c efi_loader: fix typos 2018-12-02 21:59:37 +01:00
efi_device_path_utilities.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_disk.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_file.c efi_loader: enable file SetInfo() 2019-04-07 14:17:06 +02:00
efi_freestanding.c efi_loader: provide freestanding library 2019-02-13 09:40:06 +01:00
efi_gop.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_hii.c efi_loader: endless loop in add_strings_package() 2019-03-20 18:16:53 +01:00
efi_hii_config.c efi_loader: debug output for HII protocols 2019-02-13 09:40:06 +01:00
efi_image_loader.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_memory.c efi_loader: update virtual address in efi_mem_carve_out 2019-04-12 22:00:42 +02:00
efi_net.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
efi_root_node.c efi_loader: export root node handle 2019-04-23 00:37:27 +02:00
efi_runtime.c efi_loader: efi_add_runtime_mmio() 2019-02-13 09:40:05 +01:00
efi_setup.c efi_loader: fix setting PlatformLang 2019-04-12 22:00:42 +02:00
efi_smbios.c sandbox: smbios: Update to support sandbox 2018-12-02 21:59:37 +01:00
efi_unicode_collation.c efi_loader: EFI_UNICODE_COLLATION_PROTOCOL 2018-09-23 21:55:29 +02:00
efi_variable.c efi_loader: EFI_PRINT instead of debug for variable services 2019-04-07 14:17:06 +02:00
efi_watchdog.c SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
helloworld.c efi_loader: consistent naming of protocol GUIDs 2019-04-23 00:37:27 +02:00
Kconfig efi_loader: fix setting PlatformLang 2019-04-12 22:00:42 +02:00
Makefile efi: hii: add HII config routing/access protocols 2019-02-13 09:40:06 +01:00