1 #ifndef _IPXE_EFI_PATH_H 2 #define _IPXE_EFI_PATH_H 34 end->Length[0] =
sizeof ( *end );
63 #define efi_describe_TYPE( object_type ) \ 64 typeof ( EFI_DEVICE_PATH_PROTOCOL * ( object_type ) ) EFI_DEVICE_PATH_PROTOCOL * efi_iscsi_path(struct iscsi_session *iscsi)
Construct EFI device path for iSCSI device.
The device path protocol as defined in UEFI 2.0.
EFI_DEVICE_PATH_PROTOCOL * efi_path_end(EFI_DEVICE_PATH_PROTOCOL *path)
Find end of device path.
EFI_DEVICE_PATH_PROTOCOL * efi_path_prev(EFI_DEVICE_PATH_PROTOCOL *path, EFI_DEVICE_PATH_PROTOCOL *curr)
Find previous element of device path.
#define END_DEVICE_PATH_TYPE
uint32_t first
First block in range.
uint64_t desc
Microcode descriptor list physical address.
This protocol can be used on any device handle to obtain generic path/location information concerning...
unsigned int efi_path_vlan(EFI_DEVICE_PATH_PROTOCOL *path)
Get VLAN tag from device path.
size_t efi_path_len(EFI_DEVICE_PATH_PROTOCOL *path)
Find length of device path (excluding terminator)
EFI_DEVICE_PATH_PROTOCOL * efi_ib_srp_path(struct ib_srp_device *ib_srp)
Construct EFI device path for Infiniband SRP device.
int efi_path_guid(EFI_DEVICE_PATH_PROTOCOL *path, union uuid *uuid)
Get partition GUID from device path.
static void efi_path_terminate(EFI_DEVICE_PATH_PROTOCOL *end)
Terminate device path.
void * efi_path_mac(EFI_DEVICE_PATH_PROTOCOL *path)
Get MAC address from device path.
EFI_DEVICE_PATH_PROTOCOL * efi_uri_path(struct uri *uri)
Construct EFI device path for URI.
EFI_DEVICE_PATH_PROTOCOL * efi_path_next(EFI_DEVICE_PATH_PROTOCOL *path)
Find next element in device path.
const char * path
Path (after URI decoding)
static struct net_device * netdev
EFI_DEVICE_PATH_PROTOCOL * efi_describe(struct interface *interface)
Describe object as an EFI device path.
EFI_DEVICE_PATH_PROTOCOL * efi_paths(EFI_DEVICE_PATH_PROTOCOL *first,...)
Concatenate EFI device paths.
EFI_DEVICE_PATH_PROTOCOL * efi_usb_path(struct usb_function *func)
Construct EFI device path for USB function.
EFI_DEVICE_PATH_PROTOCOL * efi_aoe_path(struct aoe_device *aoedev)
Construct EFI device path for AoE device.
An Infiniband SRP device.
An FCP device description.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define END_ENTIRE_DEVICE_PATH_SUBTYPE
EFI_DEVICE_PATH_PROTOCOL * efi_fcp_path(struct fcp_description *desc)
Construct EFI device path for Fibre Channel device.
struct uri * efi_path_uri(EFI_DEVICE_PATH_PROTOCOL *path)
Parse URI from device path.
EFI_DEVICE_PATH_PROTOCOL * efi_netdev_path(struct net_device *netdev)
Construct EFI device path for network device.
uint32_t end
Ending offset.
A Uniform Resource Identifier.