55 DBGCP (
device,
"HANDLE %s is provided by this binary\n",
67 return -
EEFI ( efirc );
74 &parent, 1 ) ) == 0 ) {
75 DBGC2 (
device,
"HANDLE %s has %s-supporting parent ",
EFI_GUID efi_nii31_protocol_guid
Network interface identifier protocol GUID (new version)
EFI_BOOT_SERVICES * BootServices
A pointer to the EFI Boot Services Table.
struct arbelprm_rc_send_wqe rc
#define EEFI(efirc)
Convert an EFI status code to an iPXE status code.
128 bit buffer containing a unique identifier value.
int nii_start(struct efi_device *efidev)
Attach driver to device.
void snpnet_stop(struct efi_device *efidev)
Detach driver from device.
EFI_GUID efi_simple_network_protocol_guid
Simple network protocol GUID.
void nii_stop(struct efi_device *efidev)
Detach driver from device.
static int snp_supported(EFI_HANDLE device)
Check to see if driver supports a device.
int snpnet_start(struct efi_device *efidev)
Attach driver to device.
#define EFI_OPEN_PROTOCOL_TEST_PROTOCOL
const char * efi_handle_name(EFI_HANDLE handle)
Get name of an EFI handle.
const char * efi_guid_ntoa(CONST EFI_GUID *guid)
Convert GUID to a printable string.
EFI_HANDLE efi_image_handle
Image handle passed to entry point.
int efi_locate_device(EFI_HANDLE device, EFI_GUID *protocol, EFI_HANDLE *parent, unsigned int skip)
Locate parent device supporting a given protocol.
static int nii_supported(EFI_HANDLE device)
Check to see if driver supports a device.
struct efi_snp_device * find_snpdev(EFI_HANDLE handle)
Find SNP device by EFI device handle.
#define ENOTTY
Inappropriate I/O control operation.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static int snp_nii_supported(EFI_HANDLE device, EFI_GUID *protocol)
Check to see if driver supports a device.
EFI_SYSTEM_TABLE * efi_systab
EFI_OPEN_PROTOCOL OpenProtocol
uint16_t protocol
Protocol ID.
struct efi_driver snp_driver __efi_driver(EFI_DRIVER_NORMAL)
EFI SNP driver.
#define NULL
NULL pointer (VOID *)
#define EFI_DRIVER_NORMAL
Normal drivers.