aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi/efi_utils.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2014-08-06 14:04:02 +0100
committerMichael Brown <mcb30@ipxe.org>2014-08-06 14:27:45 +0100
commit5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d (patch)
treea651a2d33e1954e904f2aaf321d26f47deb071f7 /src/include/ipxe/efi/efi_utils.h
parent2bf428c2a9de75ee130d366f5139fc762106e220 (diff)
downloadipxe-5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d.zip
ipxe-5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d.tar.gz
ipxe-5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d.tar.bz2
[efi] Generalise snpnet_pci_info() to efi_locate_device()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_utils.h')
-rw-r--r--src/include/ipxe/efi/efi_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_utils.h b/src/include/ipxe/efi/efi_utils.h
index 23972c7..92ca0a9 100644
--- a/src/include/ipxe/efi/efi_utils.h
+++ b/src/include/ipxe/efi/efi_utils.h
@@ -13,6 +13,8 @@ FILE_LICENCE ( GPL2_OR_LATER );
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 );