diff options
| author | Tom Rini <trini@konsulko.com> | 2019-04-24 12:26:58 -0400 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2019-04-24 12:26:58 -0400 |
| commit | 180e38ad2dbb3340cc71fb4fa335a68f2a4122ef (patch) | |
| tree | 7b52b6a9ba7948efa7780248836cf97ddebd9c65 /include/efi_loader.h | |
| parent | c2bb9c5b9e333c200e3702d9ed5ac9b6095191b6 (diff) | |
| parent | 7d1e4b73e3f321cd4f0e039aa0387484cf97b25c (diff) | |
| download | u-boot-180e38ad2dbb3340cc71fb4fa335a68f2a4122ef.tar.gz u-boot-180e38ad2dbb3340cc71fb4fa335a68f2a4122ef.tar.xz u-boot-180e38ad2dbb3340cc71fb4fa335a68f2a4122ef.zip | |
Merge tag 'efi-2019-07-rc1-3' of git://git.denx.de/u-boot-efi
Pull request for UEFI sub-system for v2019.07-rc1 (3)
This patch series reworks the implementation of the `bootefi` command to
remove code duplication by using the LoadImage() boot service to load
binaries.
Missing short texts for UEFI protocols are added for display by the
`efidebug dh` command.
Missing parameter checks for AllocatePages() and CreateDeviceNode() are
implemented.
The constants for protocol GUIDs are changed to match the names in the UEFI
specification.
Diffstat (limited to 'include/efi_loader.h')
| -rw-r--r-- | include/efi_loader.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index f7bf732827..39ed8a6fa5 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -25,6 +25,9 @@ EFI_GUID(0xe61d73b9, 0xa384, 0x4acc, \ 0xae, 0xab, 0x82, 0xe8, 0x28, 0xf3, 0x62, 0x8b) +/* Root node */ +extern efi_handle_t efi_root; + int __efi_entry_check(void); int __efi_exit_check(void); const char *__efi_nesting(void); @@ -409,8 +412,6 @@ efi_status_t efi_setup_loaded_image(struct efi_device_path *device_path, struct efi_device_path *file_path, struct efi_loaded_image_obj **handle_ptr, struct efi_loaded_image **info_ptr); -efi_status_t efi_load_image_from_path(struct efi_device_path *file_path, - void **buffer, efi_uintn_t *size); /* Print information about all loaded images */ void efi_print_image_infos(void *pc); @@ -564,8 +565,7 @@ struct efi_load_option { void efi_deserialize_load_option(struct efi_load_option *lo, u8 *data); unsigned long efi_serialize_load_option(struct efi_load_option *lo, u8 **data); -void *efi_bootmgr_load(struct efi_device_path **device_path, - struct efi_device_path **file_path); +efi_status_t efi_bootmgr_load(efi_handle_t *handle); #else /* CONFIG_IS_ENABLED(EFI_LOADER) */ |
