From 2d49ce6f08002d9e92c2ba819c65a8b093e975f4 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 19 Oct 2020 14:12:48 +0100 Subject: [efi] Provide utility function to concatenate device paths Signed-off-by: Michael Brown --- src/include/ipxe/efi/efi_path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/ipxe') diff --git a/src/include/ipxe/efi/efi_path.h b/src/include/ipxe/efi/efi_path.h index d4d43852f..b27441d07 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 ); -- cgit v1.2.3-55-g7522