diff options
author | Tom Rini <trini@konsulko.com> | 2023-03-25 17:34:34 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-25 17:34:34 -0400 |
commit | fde439219ff53a46bdd5dff69e049ccd4be57310 (patch) | |
tree | 423643707fad940e0845cbebf74d545b05b3d336 /include/efi.h | |
parent | 4b635046b5e92e419fbd1bf93e5b0ef86dbcadc2 (diff) | |
parent | 93e3364804ffd4a5d4a0df9c750a1859f9fe298b (diff) | |
download | u-boot-WIP/25Mar2023-next.zip u-boot-WIP/25Mar2023-next.tar.gz u-boot-WIP/25Mar2023-next.tar.bz2 |
Merge tag 'efi-next-20230325' of https://source.denx.de/u-boot/custodians/u-boot-efi into nextWIP/25Mar2023-next
Pull request for efi-next-20230325
Documenation:
* add man-page for efi command
UEFI:
* Let EFI app call ExitBootServices() before legacy booting kernel
* Support zboot and bootm in the EFI app
* Let efi command show configuration tables
* Support booting a 64-bit kernel from 64-bit EFI app
* Allocate device-tree copy from high memory
* simplify efi_str_to_u16()
Diffstat (limited to 'include/efi.h')
-rw-r--r-- | include/efi.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/efi.h b/include/efi.h index c3087d3..f0e5faa 100644 --- a/include/efi.h +++ b/include/efi.h @@ -52,7 +52,18 @@ #define EFI32_LOADER_SIGNATURE "EL32" #define EFI64_LOADER_SIGNATURE "EL64" -struct efi_device_path; +/** + * struct efi_device_path - device path protocol + * + * @type: device path type + * @sub_type: device path sub-type + * @length: length of the device path node including the header + */ +struct efi_device_path { + u8 type; + u8 sub_type; + u16 length; +} __packed; /* * The EFI spec defines the EFI_GUID as @@ -637,4 +648,13 @@ int efi_call_exit_boot_services(void); int efi_get_mmap(struct efi_mem_desc **descp, int *sizep, uint *keyp, int *desc_sizep, uint *versionp); +/** + * efi_show_tables() - Show a list of available tables + * + * Shows the address, GUID (and name where known) for each table + * + * @systab: System table containing the list of tables + */ +void efi_show_tables(struct efi_system_table *systab); + #endif /* _LINUX_EFI_H */ |