mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
efi: Split out table-listing code into a new file
This code is used with EFI_LOADER but is also useful (with some modifications) for the EFI app and payload. Move it into a shared file. Show the address of the table so it can be examined if needed. Also show the table name as unknown if necessary. Our list of GUIDs is fairly small. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
30c9646eff
commit
041840eeeb
@@ -648,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 */
|
||||
|
||||
Reference in New Issue
Block a user