summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/efi_path.h
diff options
context:
space:
mode:
authorMichael Brown2020-10-19 15:12:48 +0200
committerMichael Brown2020-10-19 15:45:49 +0200
commit2d49ce6f08002d9e92c2ba819c65a8b093e975f4 (patch)
treeca536dc238814e80fa0f5096aa953769ff36bf55 /src/include/ipxe/efi/efi_path.h
parent[efi] Split efi_netdev_path() out to a separate function (diff)
downloadipxe-2d49ce6f08002d9e92c2ba819c65a8b093e975f4.tar.gz
ipxe-2d49ce6f08002d9e92c2ba819c65a8b093e975f4.tar.xz
ipxe-2d49ce6f08002d9e92c2ba819c65a8b093e975f4.zip
[efi] Provide utility function to concatenate device paths
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi/efi_path.h')
-rw-r--r--src/include/ipxe/efi/efi_path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h
index d4d43852..b27441d0 100644
--- a/src/include/ipxe/efi/efi_path.h
+++ b/src/include/ipxe/efi/efi_path.h
@@ -20,6 +20,8 @@ struct usb_function;
extern EFI_DEVICE_PATH_PROTOCOL *
efi_path_end ( EFI_DEVICE_PATH_PROTOCOL *path );
extern size_t efi_path_len ( EFI_DEVICE_PATH_PROTOCOL *path );
+extern EFI_DEVICE_PATH_PROTOCOL * efi_paths ( EFI_DEVICE_PATH_PROTOCOL *first,
+ ... );
extern EFI_DEVICE_PATH_PROTOCOL * efi_netdev_path ( struct net_device *netdev );
extern EFI_DEVICE_PATH_PROTOCOL * efi_uri_path ( struct uri *uri );
extern EFI_DEVICE_PATH_PROTOCOL * efi_usb_path ( struct usb_function *func );