diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-08-06 14:04:02 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-08-06 14:27:45 +0100 |
commit | 5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d (patch) | |
tree | a651a2d33e1954e904f2aaf321d26f47deb071f7 /src/include/ipxe/efi/efi_utils.h | |
parent | 2bf428c2a9de75ee130d366f5139fc762106e220 (diff) | |
download | ipxe-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.h | 2 |
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 ); |