diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-09-30 18:06:13 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-10-16 14:12:42 +0100 |
commit | b9a5ff2b03b7354c9fafdca7e0e6c9b3da151f1c (patch) | |
tree | d8334055a33b009743b4b28334feb996bc97ade1 /src/include/ipxe/efi | |
parent | b71e93bb71ae83754e5d6b40b7b24bb31b5238de (diff) | |
download | ipxe-b9a5ff2b03b7354c9fafdca7e0e6c9b3da151f1c.zip ipxe-b9a5ff2b03b7354c9fafdca7e0e6c9b3da151f1c.tar.gz ipxe-b9a5ff2b03b7354c9fafdca7e0e6c9b3da151f1c.tar.bz2 |
[efi] Generalise snpnet_dev_info() to efi_device_info()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi')
-rw-r--r-- | src/include/ipxe/efi/efi_utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_utils.h b/src/include/ipxe/efi/efi_utils.h index 92ca0a9..9164be1 100644 --- a/src/include/ipxe/efi/efi_utils.h +++ b/src/include/ipxe/efi/efi_utils.h @@ -11,11 +11,15 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <ipxe/efi/efi.h> #include <ipxe/efi/Protocol/DevicePath.h> +struct device; + extern EFI_DEVICE_PATH_PROTOCOL * efi_devpath_end ( EFI_DEVICE_PATH_PROTOCOL *path ); extern int efi_locate_device ( EFI_HANDLE device, EFI_GUID *protocol, EFI_HANDLE *parent ); extern int efi_child_add ( EFI_HANDLE parent, EFI_HANDLE child ); extern void efi_child_del ( EFI_HANDLE parent, EFI_HANDLE child ); +extern void efi_device_info ( EFI_HANDLE device, const char *prefix, + struct device *dev ); #endif /* _IPXE_EFI_UTILS_H */ |