diff options
author | Michael Brown | 2014-08-06 15:04:02 +0200 |
---|---|---|
committer | Michael Brown | 2014-08-06 15:27:45 +0200 |
commit | 5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d (patch) | |
tree | a651a2d33e1954e904f2aaf321d26f47deb071f7 /src/include | |
parent | [efi] Move abstract device path and handle functions to efi_utils.c (diff) | |
download | ipxe-5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d.tar.gz ipxe-5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d.tar.xz ipxe-5c4f1da2ceac87ab13ca946f2dfbaadcd19e208d.zip |
[efi] Generalise snpnet_pci_info() to efi_locate_device()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-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 23972c7a..92ca0a9c 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 ); |