aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-01-23 19:15:45 +0000
committerMichael Brown <mcb30@ipxe.org>2023-01-23 19:27:13 +0000
commit2fef0c541e4e2417fc285c4d9ddfcb6f23f394ad (patch)
treea81c522bfe50ab496e0aa078a95f6cb4e2cbd0ba /src/include/ipxe/efi
parent1cd0a248cc54a8b2fadc0d2c287d2f3528b749b4 (diff)
downloadipxe-2fef0c541e4e2417fc285c4d9ddfcb6f23f394ad.zip
ipxe-2fef0c541e4e2417fc285c4d9ddfcb6f23f394ad.tar.gz
ipxe-2fef0c541e4e2417fc285c4d9ddfcb6f23f394ad.tar.bz2
[efi] Extend efi_locate_device() to allow searching up the device path
Extend the functionality of efi_locate_device() to allow callers to find instances of the protocol that may exist further up the device path. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi')
-rw-r--r--src/include/ipxe/efi/efi_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/efi/efi_utils.h b/src/include/ipxe/efi/efi_utils.h
index 270d38d..98659b1 100644
--- a/src/include/ipxe/efi/efi_utils.h
+++ b/src/include/ipxe/efi/efi_utils.h
@@ -13,7 +13,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
struct device;
extern int efi_locate_device ( EFI_HANDLE device, EFI_GUID *protocol,
- EFI_HANDLE *parent );
+ EFI_HANDLE *parent, unsigned int skip );
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,