aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi/efi.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-07-31 00:05:04 +0100
committerMichael Brown <mcb30@ipxe.org>2014-07-31 01:49:58 +0100
commit550f212d157f9f3ae025bbdb654c4184467ad826 (patch)
treed20a1e5335f36434c183855cd31a25116c3e4036 /src/include/ipxe/efi/efi.h
parent0b40e76d95396a25d56b6a1624d5819910c3f755 (diff)
downloadipxe-550f212d157f9f3ae025bbdb654c4184467ad826.zip
ipxe-550f212d157f9f3ae025bbdb654c4184467ad826.tar.gz
ipxe-550f212d157f9f3ae025bbdb654c4184467ad826.tar.bz2
[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/ipxe/efi/efi.h')
-rw-r--r--src/include/ipxe/efi/efi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi.h b/src/include/ipxe/efi/efi.h
index 38342f7..b5537dd 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 );