diff options
author | Michael Brown | 2014-07-31 01:05:04 +0200 |
---|---|---|
committer | Michael Brown | 2014-07-31 02:49:58 +0200 |
commit | 550f212d157f9f3ae025bbdb654c4184467ad826 (patch) | |
tree | d20a1e5335f36434c183855cd31a25116c3e4036 /src/include | |
parent | [efi] Expand the range of well-known EFI GUIDs in debug messages (diff) | |
download | ipxe-550f212d157f9f3ae025bbdb654c4184467ad826.tar.gz ipxe-550f212d157f9f3ae025bbdb654c4184467ad826.tar.xz ipxe-550f212d157f9f3ae025bbdb654c4184467ad826.zip |
[efi] Provide efi_handle_name() for debugging
Provide a function efi_handle_name() (as a generalisation of
efi_handle_devpath_text()) which tries various methods to produce a
human-readable name for an EFI handle.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/efi/efi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi.h b/src/include/ipxe/efi/efi.h index 38342f73..b5537dd6 100644 --- a/src/include/ipxe/efi/efi.h +++ b/src/include/ipxe/efi/efi.h @@ -151,6 +151,7 @@ extern EFI_SYSTEM_TABLE *efi_systab; extern const char * efi_guid_ntoa ( EFI_GUID *guid ); extern const char * efi_devpath_text ( EFI_DEVICE_PATH_PROTOCOL *path ); extern const char * efi_handle_devpath_text ( EFI_HANDLE handle ); +extern const char * efi_handle_name ( EFI_HANDLE handle ); extern void dbg_efi_protocols ( EFI_HANDLE handle ); |