iPXE
Functions | Variables
efi_null.c File Reference

EFI null interfaces. More...

#include <string.h>
#include <ipxe/efi/efi.h>
#include <ipxe/efi/efi_null.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
static EFI_STATUS EFIAPI efi_null_snp_start (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_stop (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_initialize (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINTN extra_rx_bufsize __unused, UINTN extra_tx_bufsize __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_reset (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN ext_verify __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_shutdown (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_receive_filters (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINT32 enable __unused, UINT32 disable __unused, BOOLEAN mcast_reset __unused, UINTN mcast_count __unused, EFI_MAC_ADDRESS *mcast __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_station_address (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN reset __unused, EFI_MAC_ADDRESS *new __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_statistics (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN reset __unused, UINTN *stats_len __unused, EFI_NETWORK_STATISTICS *stats __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_mcast_ip_to_mac (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN ipv6 __unused, EFI_IP_ADDRESS *ip __unused, EFI_MAC_ADDRESS *mac __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_nvdata (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN read __unused, UINTN offset __unused, UINTN len __unused, VOID *data __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_get_status (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINT32 *interrupts __unused, VOID **txbuf __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_transmit (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINTN ll_header_len __unused, UINTN len __unused, VOID *data __unused, EFI_MAC_ADDRESS *ll_src __unused, EFI_MAC_ADDRESS *ll_dest __unused, UINT16 *net_proto __unused)
 
static EFI_STATUS EFIAPI efi_null_snp_receive (EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINTN *ll_header_len __unused, UINTN *len __unused, VOID *data __unused, EFI_MAC_ADDRESS *ll_src __unused, EFI_MAC_ADDRESS *ll_dest __unused, UINT16 *net_proto __unused)
 
void efi_nullify_snp (EFI_SIMPLE_NETWORK_PROTOCOL *snp)
 Nullify SNP interface. More...
 
static EFIAPI VOID efi_null_undi_issue (UINT64 cdb_phys)
 
void efi_nullify_nii (EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL *nii)
 Nullify NII interface. More...
 
static EFI_STATUS EFIAPI efi_null_get_driver_name (EFI_COMPONENT_NAME2_PROTOCOL *name2 __unused, CHAR8 *language __unused, CHAR16 **driver_name __unused)
 
static EFI_STATUS EFIAPI efi_null_get_controller_name (EFI_COMPONENT_NAME2_PROTOCOL *name2 __unused, EFI_HANDLE device __unused, EFI_HANDLE child __unused, CHAR8 *language __unused, CHAR16 **controller_name __unused)
 
void efi_nullify_name2 (EFI_COMPONENT_NAME2_PROTOCOL *name2)
 Nullify Component Name Protocol interface. More...
 
static EFI_STATUS EFIAPI efi_null_load_file (EFI_LOAD_FILE_PROTOCOL *load_file __unused, EFI_DEVICE_PATH_PROTOCOL *path __unused, BOOLEAN booting __unused, UINTN *len __unused, VOID *data __unused)
 
void efi_nullify_load_file (EFI_LOAD_FILE_PROTOCOL *load_file)
 Nullify Load File Protocol interface. More...
 
static EFI_STATUS EFIAPI efi_null_hii_extract (const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii __unused, EFI_STRING request __unused, EFI_STRING *progress __unused, EFI_STRING *results __unused)
 
static EFI_STATUS EFIAPI efi_null_hii_route (const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii __unused, EFI_STRING config __unused, EFI_STRING *progress __unused)
 
static EFI_STATUS EFIAPI efi_null_hii_callback (const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii __unused, EFI_BROWSER_ACTION action __unused, EFI_QUESTION_ID question_id __unused, UINT8 type __unused, EFI_IFR_TYPE_VALUE *value __unused, EFI_BROWSER_ACTION_REQUEST *action_request __unused)
 
void efi_nullify_hii (EFI_HII_CONFIG_ACCESS_PROTOCOL *hii)
 Nullify HII configuration access protocol. More...
 
static EFI_STATUS EFIAPI efi_null_block_reset (EFI_BLOCK_IO_PROTOCOL *block __unused, BOOLEAN verify __unused)
 
static EFI_STATUS EFIAPI efi_null_block_read (EFI_BLOCK_IO_PROTOCOL *block __unused, UINT32 media __unused, EFI_LBA lba __unused, UINTN len __unused, VOID *data __unused)
 
static EFI_STATUS EFIAPI efi_null_block_write (EFI_BLOCK_IO_PROTOCOL *block __unused, UINT32 media __unused, EFI_LBA lba __unused, UINTN len __unused, VOID *data __unused)
 
static EFI_STATUS EFIAPI efi_null_block_flush (EFI_BLOCK_IO_PROTOCOL *block __unused)
 
void efi_nullify_block (EFI_BLOCK_IO_PROTOCOL *block)
 Nullify block I/O protocol. More...
 
static EFI_STATUS EFIAPI efi_null_pxe_start (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN use_ipv6 __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_stop (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_dhcp (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN sort __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_discover (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, UINT16 type __unused, UINT16 *layer __unused, BOOLEAN bis __unused, EFI_PXE_BASE_CODE_DISCOVER_INFO *info __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_mtftp (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_PXE_BASE_CODE_TFTP_OPCODE opcode __unused, VOID *data __unused, BOOLEAN overwrite __unused, UINT64 *len __unused, UINTN *blksize __unused, EFI_IP_ADDRESS *ip __unused, UINT8 *filename __unused, EFI_PXE_BASE_CODE_MTFTP_INFO *info __unused, BOOLEAN callback __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_udp_write (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, UINT16 flags __unused, EFI_IP_ADDRESS *dest_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *dest_port __unused, EFI_IP_ADDRESS *gateway __unused, EFI_IP_ADDRESS *src_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *src_port __unused, UINTN *hdr_len __unused, VOID *hdr __unused, UINTN *len __unused, VOID *data __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_udp_read (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, UINT16 flags __unused, EFI_IP_ADDRESS *dest_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *dest_port __unused, EFI_IP_ADDRESS *src_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *src_port __unused, UINTN *hdr_len __unused, VOID *hdr __unused, UINTN *len __unused, VOID *data __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_set_ip_filter (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_PXE_BASE_CODE_IP_FILTER *filter __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_arp (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_IP_ADDRESS *ip __unused, EFI_MAC_ADDRESS *mac __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_set_parameters (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN *autoarp __unused, BOOLEAN *sendguid __unused, UINT8 *ttl __unused, UINT8 *tos __unused, BOOLEAN *callback __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_set_station_ip (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_IP_ADDRESS *ip __unused, EFI_IP_ADDRESS *netmask __unused)
 
static EFI_STATUS EFIAPI efi_null_pxe_set_packets (EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN *dhcpdisc_ok __unused, BOOLEAN *dhcpack_ok __unused, BOOLEAN *proxyoffer_ok __unused, BOOLEAN *pxebsdisc_ok __unused, BOOLEAN *pxebsack_ok __unused, BOOLEAN *pxebsbis_ok __unused, EFI_PXE_BASE_CODE_PACKET *dhcpdisc __unused, EFI_PXE_BASE_CODE_PACKET *dhcpack __unused, EFI_PXE_BASE_CODE_PACKET *proxyoffer __unused, EFI_PXE_BASE_CODE_PACKET *pxebsdisc __unused, EFI_PXE_BASE_CODE_PACKET *pxebsack __unused, EFI_PXE_BASE_CODE_PACKET *pxebsbis __unused)
 
void efi_nullify_pxe (EFI_PXE_BASE_CODE_PROTOCOL *pxe)
 Nullify PXE base code protocol. More...
 
static EFI_STATUS EFIAPI efi_null_apple_dhcp (EFI_APPLE_NET_BOOT_PROTOCOL *apple __unused, UINTN *len __unused, VOID *data __unused)
 
static EFI_STATUS EFIAPI efi_null_apple_bsdp (EFI_APPLE_NET_BOOT_PROTOCOL *apple __unused, UINTN *len __unused, VOID *data __unused)
 
void efi_nullify_apple (EFI_APPLE_NET_BOOT_PROTOCOL *apple)
 Nullify Apple Net Boot protocol. More...
 
static EFI_STATUS EFIAPI efi_null_usb_control_transfer (EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_DEVICE_REQUEST *packet __unused, EFI_USB_DATA_DIRECTION direction __unused, UINT32 timeout __unused, VOID *data __unused, UINTN len __unused, UINT32 *status __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_bulk_transfer (EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN *len __unused, UINTN timeout __unused, UINT32 *status __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_sync_interrupt_transfer (EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN *len __unused, UINTN timeout __unused, UINT32 *status __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_async_interrupt_transfer (EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, BOOLEAN start __unused, UINTN interval __unused, UINTN len __unused, EFI_ASYNC_USB_TRANSFER_CALLBACK callback __unused, VOID *context __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_isochronous_transfer (EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN len __unused, UINT32 *status __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_async_isochronous_transfer (EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN len __unused, EFI_ASYNC_USB_TRANSFER_CALLBACK callback __unused, VOID *context __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_get_device_descriptor (EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_DEVICE_DESCRIPTOR *efidesc __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_get_config_descriptor (EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_CONFIG_DESCRIPTOR *efidesc __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_get_interface_descriptor (EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_INTERFACE_DESCRIPTOR *efidesc __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_get_endpoint_descriptor (EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 index __unused, EFI_USB_ENDPOINT_DESCRIPTOR *efidesc __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_get_string_descriptor (EFI_USB_IO_PROTOCOL *usbio __unused, UINT16 language __unused, UINT8 index __unused, CHAR16 **string __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_get_supported_languages (EFI_USB_IO_PROTOCOL *usbio __unused, UINT16 **languages __unused, UINT16 *len __unused)
 
static EFI_STATUS EFIAPI efi_null_usb_port_reset (EFI_USB_IO_PROTOCOL *usbio __unused)
 
void efi_nullify_usbio (EFI_USB_IO_PROTOCOL *usbio)
 Nullify USB I/O protocol. More...
 

Variables

static EFI_SIMPLE_NETWORK_PROTOCOL efi_null_snp
 
static PXE_SW_UNDI efi_null_undi
 
static EFI_COMPONENT_NAME2_PROTOCOL efi_null_name2
 
static EFI_HII_CONFIG_ACCESS_PROTOCOL efi_null_hii
 
static EFI_BLOCK_IO_MEDIA efi_null_block_media
 
static EFI_BLOCK_IO_PROTOCOL efi_null_block
 
static EFI_PXE_BASE_CODE_PROTOCOL efi_null_pxe
 
static EFI_APPLE_NET_BOOT_PROTOCOL efi_null_apple
 
static EFI_USB_IO_PROTOCOL efi_null_usbio
 

Detailed Description

EFI null interfaces.

Definition in file efi_null.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ efi_null_snp_start()

static EFI_STATUS EFIAPI efi_null_snp_start ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused)
static

Definition at line 44 of file efi_null.c.

44  {
45  return EFI_UNSUPPORTED;
46 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_stop()

static EFI_STATUS EFIAPI efi_null_snp_stop ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused)
static

Definition at line 49 of file efi_null.c.

49  {
50  return EFI_UNSUPPORTED;
51 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_initialize()

static EFI_STATUS EFIAPI efi_null_snp_initialize ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
UINTN extra_rx_bufsize  __unused,
UINTN extra_tx_bufsize  __unused 
)
static

Definition at line 54 of file efi_null.c.

56  {
57  return EFI_UNSUPPORTED;
58 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_reset()

static EFI_STATUS EFIAPI efi_null_snp_reset ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
BOOLEAN ext_verify  __unused 
)
static

Definition at line 61 of file efi_null.c.

62  {
63  return EFI_UNSUPPORTED;
64 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_shutdown()

static EFI_STATUS EFIAPI efi_null_snp_shutdown ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused)
static

Definition at line 67 of file efi_null.c.

67  {
68  return EFI_UNSUPPORTED;
69 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_receive_filters()

static EFI_STATUS EFIAPI efi_null_snp_receive_filters ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
UINT32 enable  __unused,
UINT32 disable  __unused,
BOOLEAN mcast_reset  __unused,
UINTN mcast_count  __unused,
EFI_MAC_ADDRESS *mcast  __unused 
)
static

Definition at line 72 of file efi_null.c.

77  {
78  return EFI_UNSUPPORTED;
79 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_station_address()

static EFI_STATUS EFIAPI efi_null_snp_station_address ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
BOOLEAN reset  __unused,
EFI_MAC_ADDRESS *new  __unused 
)
static

Definition at line 82 of file efi_null.c.

84  {
85  return EFI_UNSUPPORTED;
86 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_statistics()

static EFI_STATUS EFIAPI efi_null_snp_statistics ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
BOOLEAN reset  __unused,
UINTN *stats_len  __unused,
EFI_NETWORK_STATISTICS *stats  __unused 
)
static

Definition at line 89 of file efi_null.c.

91  {
92  return EFI_UNSUPPORTED;
93 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_mcast_ip_to_mac()

static EFI_STATUS EFIAPI efi_null_snp_mcast_ip_to_mac ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
BOOLEAN ipv6  __unused,
EFI_IP_ADDRESS *ip  __unused,
EFI_MAC_ADDRESS *mac  __unused 
)
static

Definition at line 96 of file efi_null.c.

99  {
100  return EFI_UNSUPPORTED;
101 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_nvdata()

static EFI_STATUS EFIAPI efi_null_snp_nvdata ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
BOOLEAN read  __unused,
UINTN offset  __unused,
UINTN len  __unused,
VOID *data  __unused 
)
static

Definition at line 104 of file efi_null.c.

106  {
107  return EFI_UNSUPPORTED;
108 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_get_status()

static EFI_STATUS EFIAPI efi_null_snp_get_status ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
UINT32 *interrupts  __unused,
VOID **txbuf  __unused 
)
static

Definition at line 111 of file efi_null.c.

112  {
113  return EFI_UNSUPPORTED;
114 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_transmit()

static EFI_STATUS EFIAPI efi_null_snp_transmit ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
UINTN ll_header_len  __unused,
UINTN len  __unused,
VOID *data  __unused,
EFI_MAC_ADDRESS *ll_src  __unused,
EFI_MAC_ADDRESS *ll_dest  __unused,
UINT16 *net_proto  __unused 
)
static

Definition at line 117 of file efi_null.c.

121  {
122  return EFI_UNSUPPORTED;
123 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_snp_receive()

static EFI_STATUS EFIAPI efi_null_snp_receive ( EFI_SIMPLE_NETWORK_PROTOCOL *snp  __unused,
UINTN *ll_header_len  __unused,
UINTN *len  __unused,
VOID *data  __unused,
EFI_MAC_ADDRESS *ll_src  __unused,
EFI_MAC_ADDRESS *ll_dest  __unused,
UINT16 *net_proto  __unused 
)
static

Definition at line 126 of file efi_null.c.

130  {
131  return EFI_UNSUPPORTED;
132 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_snp()

void efi_nullify_snp ( EFI_SIMPLE_NETWORK_PROTOCOL snp)

Nullify SNP interface.

Parameters
snpSNP interface

Definition at line 156 of file efi_null.c.

156  {
157 
158  memcpy ( snp, &efi_null_snp,
159  offsetof ( typeof ( *snp ), WaitForPacket ) );
161 }
UINT32 State
Reports the current state of the network interface.
#define offsetof(type, field)
Get offset of a field within a structure.
Definition: stddef.h:24
static EFI_SIMPLE_NETWORK_PROTOCOL efi_null_snp
Definition: efi_null.c:134
EFI_SIMPLE_NETWORK_MODE * Mode
Pointer to the EFI_SIMPLE_NETWORK_MODE data for the device.
void * memcpy(void *dest, const void *src, size_t len) __nonnull

References efi_null_snp, EfiSimpleNetworkStopped, memcpy(), _EFI_SIMPLE_NETWORK_PROTOCOL::Mode, offsetof, and EFI_SIMPLE_NETWORK_MODE::State.

Referenced by efi_snp_probe(), and efi_snp_remove().

◆ efi_null_undi_issue()

static EFIAPI VOID efi_null_undi_issue ( UINT64  cdb_phys)
static

Definition at line 170 of file efi_null.c.

170  {
171  PXE_CDB *cdb = ( ( void * ) ( intptr_t ) cdb_phys );
172 
175 }
PXE_STATCODE StatCode
Definition: UefiPxe.h:889
#define PXE_STATFLAGS_COMMAND_FAILED
Definition: UefiPxe.h:424
unsigned long intptr_t
Definition: stdint.h:21
#define PXE_STATCODE_UNSUPPORTED
Definition: UefiPxe.h:624
PXE_STATFLAGS StatFlags
Definition: UefiPxe.h:890

References PXE_STATCODE_UNSUPPORTED, PXE_STATFLAGS_COMMAND_FAILED, s_pxe_cdb::StatCode, and s_pxe_cdb::StatFlags.

Referenced by efi_nullify_nii().

◆ efi_nullify_nii()

void efi_nullify_nii ( EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL nii)

Nullify NII interface.

Parameters
niiNII interface

Definition at line 191 of file efi_null.c.

191  {
193  nii->Id = ( ( intptr_t ) &efi_null_undi );
194 }
static EFIAPI VOID efi_null_undi_issue(UINT64 cdb_phys)
Definition: efi_null.c:170
unsigned long intptr_t
Definition: stdint.h:21
UINT64 Id
The address of the first byte of the identifying structure for this network interface.
static PXE_SW_UNDI efi_null_undi
Definition: efi_null.c:177
PXE_UINT64 EntryPoint
API entry point.
Definition: UefiPxe.h:827

References efi_null_undi, efi_null_undi_issue(), s_pxe_sw_undi::EntryPoint, and _EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL::Id.

Referenced by efi_snp_probe(), and efi_snp_remove().

◆ efi_null_get_driver_name()

static EFI_STATUS EFIAPI efi_null_get_driver_name ( EFI_COMPONENT_NAME2_PROTOCOL *name2  __unused,
CHAR8 *language  __unused,
CHAR16 **driver_name  __unused 
)
static

Definition at line 204 of file efi_null.c.

206  {
207  return EFI_UNSUPPORTED;
208 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_get_controller_name()

static EFI_STATUS EFIAPI efi_null_get_controller_name ( EFI_COMPONENT_NAME2_PROTOCOL *name2  __unused,
EFI_HANDLE device  __unused,
EFI_HANDLE child  __unused,
CHAR8 *language  __unused,
CHAR16 **controller_name  __unused 
)
static

Definition at line 211 of file efi_null.c.

215  {
216  return EFI_UNSUPPORTED;
217 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_name2()

void efi_nullify_name2 ( EFI_COMPONENT_NAME2_PROTOCOL name2)

Nullify Component Name Protocol interface.

Parameters
name2Component name protocol

Definition at line 230 of file efi_null.c.

230  {
231 
232  memcpy ( name2, &efi_null_name2, sizeof ( *name2 ) );
233 }
void * memcpy(void *dest, const void *src, size_t len) __nonnull
static EFI_COMPONENT_NAME2_PROTOCOL efi_null_name2
Definition: efi_null.c:219

References efi_null_name2, and memcpy().

Referenced by efi_snp_probe(), and efi_snp_remove().

◆ efi_null_load_file()

static EFI_STATUS EFIAPI efi_null_load_file ( EFI_LOAD_FILE_PROTOCOL *load_file  __unused,
EFI_DEVICE_PATH_PROTOCOL *path  __unused,
BOOLEAN booting  __unused,
UINTN *len  __unused,
VOID *data  __unused 
)
static

Definition at line 243 of file efi_null.c.

246  {
247  return EFI_UNSUPPORTED;
248 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

Referenced by efi_nullify_load_file().

◆ efi_nullify_load_file()

void efi_nullify_load_file ( EFI_LOAD_FILE_PROTOCOL load_file)

Nullify Load File Protocol interface.

Parameters
load_fileLoad file protocol

Definition at line 255 of file efi_null.c.

255  {
256  load_file->LoadFile = efi_null_load_file;
257 }
static EFI_STATUS EFIAPI efi_null_load_file(EFI_LOAD_FILE_PROTOCOL *load_file __unused, EFI_DEVICE_PATH_PROTOCOL *path __unused, BOOLEAN booting __unused, UINTN *len __unused, VOID *data __unused)
Definition: efi_null.c:243
EFI_LOAD_FILE LoadFile
Definition: LoadFile.h:85

References efi_null_load_file(), and _EFI_LOAD_FILE_PROTOCOL::LoadFile.

Referenced by efi_snp_probe(), and efi_snp_remove().

◆ efi_null_hii_extract()

static EFI_STATUS EFIAPI efi_null_hii_extract ( const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii  __unused,
EFI_STRING request  __unused,
EFI_STRING *progress  __unused,
EFI_STRING *results  __unused 
)
static

Definition at line 267 of file efi_null.c.

270  {
271  return EFI_UNSUPPORTED;
272 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_hii_route()

static EFI_STATUS EFIAPI efi_null_hii_route ( const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii  __unused,
EFI_STRING config  __unused,
EFI_STRING *progress  __unused 
)
static

Definition at line 275 of file efi_null.c.

277  {
278  return EFI_UNSUPPORTED;
279 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_hii_callback()

static EFI_STATUS EFIAPI efi_null_hii_callback ( const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii  __unused,
EFI_BROWSER_ACTION action  __unused,
EFI_QUESTION_ID question_id  __unused,
UINT8 type  __unused,
EFI_IFR_TYPE_VALUE *value  __unused,
EFI_BROWSER_ACTION_REQUEST *action_request  __unused 
)
static

Definition at line 282 of file efi_null.c.

286  {
287  return EFI_UNSUPPORTED;
288 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_hii()

void efi_nullify_hii ( EFI_HII_CONFIG_ACCESS_PROTOCOL hii)

Nullify HII configuration access protocol.

Parameters
hiiHII configuration access protocol

Definition at line 301 of file efi_null.c.

301  {
302 
303  memcpy ( hii, &efi_null_hii, sizeof ( *hii ) );
304 }
void * memcpy(void *dest, const void *src, size_t len) __nonnull
static EFI_HII_CONFIG_ACCESS_PROTOCOL efi_null_hii
Definition: efi_null.c:290

References efi_null_hii, and memcpy().

Referenced by efi_snp_hii_install(), and efi_snp_hii_uninstall().

◆ efi_null_block_reset()

static EFI_STATUS EFIAPI efi_null_block_reset ( EFI_BLOCK_IO_PROTOCOL *block  __unused,
BOOLEAN verify  __unused 
)
static

Definition at line 314 of file efi_null.c.

315  {
316  return EFI_UNSUPPORTED;
317 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_block_read()

static EFI_STATUS EFIAPI efi_null_block_read ( EFI_BLOCK_IO_PROTOCOL *block  __unused,
UINT32 media  __unused,
EFI_LBA lba  __unused,
UINTN len  __unused,
VOID *data  __unused 
)
static

Definition at line 320 of file efi_null.c.

322  {
323  return EFI_UNSUPPORTED;
324 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_block_write()

static EFI_STATUS EFIAPI efi_null_block_write ( EFI_BLOCK_IO_PROTOCOL *block  __unused,
UINT32 media  __unused,
EFI_LBA lba  __unused,
UINTN len  __unused,
VOID *data  __unused 
)
static

Definition at line 327 of file efi_null.c.

329  {
330  return EFI_UNSUPPORTED;
331 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_block_flush()

static EFI_STATUS EFIAPI efi_null_block_flush ( EFI_BLOCK_IO_PROTOCOL *block  __unused)
static

Definition at line 334 of file efi_null.c.

334  {
335  return EFI_UNSUPPORTED;
336 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_block()

void efi_nullify_block ( EFI_BLOCK_IO_PROTOCOL block)

Nullify block I/O protocol.

Parameters
blockBlock I/O protocol

Definition at line 354 of file efi_null.c.

354  {
355 
356  memcpy ( block, &efi_null_block, sizeof ( *block ) );
357 }
uint16_t block
Definition: tftp.h:12
void * memcpy(void *dest, const void *src, size_t len) __nonnull
static EFI_BLOCK_IO_PROTOCOL efi_null_block
Definition: efi_null.c:340

References block, efi_null_block, and memcpy().

Referenced by efi_block_hook(), and efi_block_unhook().

◆ efi_null_pxe_start()

static EFI_STATUS EFIAPI efi_null_pxe_start ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
BOOLEAN use_ipv6  __unused 
)
static

Definition at line 367 of file efi_null.c.

368  {
369  return EFI_UNSUPPORTED;
370 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_stop()

static EFI_STATUS EFIAPI efi_null_pxe_stop ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused)
static

Definition at line 373 of file efi_null.c.

373  {
374  return EFI_UNSUPPORTED;
375 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_dhcp()

static EFI_STATUS EFIAPI efi_null_pxe_dhcp ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
BOOLEAN sort  __unused 
)
static

Definition at line 378 of file efi_null.c.

379  {
380  return EFI_UNSUPPORTED;
381 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_discover()

static EFI_STATUS EFIAPI efi_null_pxe_discover ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
UINT16 type  __unused,
UINT16 *layer  __unused,
BOOLEAN bis  __unused,
EFI_PXE_BASE_CODE_DISCOVER_INFO *info  __unused 
)
static

Definition at line 384 of file efi_null.c.

387  {
388  return EFI_UNSUPPORTED;
389 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_mtftp()

static EFI_STATUS EFIAPI efi_null_pxe_mtftp ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
EFI_PXE_BASE_CODE_TFTP_OPCODE opcode  __unused,
VOID *data  __unused,
BOOLEAN overwrite  __unused,
UINT64 *len  __unused,
UINTN *blksize  __unused,
EFI_IP_ADDRESS *ip  __unused,
UINT8 *filename  __unused,
EFI_PXE_BASE_CODE_MTFTP_INFO *info  __unused,
BOOLEAN callback  __unused 
)
static

Definition at line 392 of file efi_null.c.

398  {
399  return EFI_UNSUPPORTED;
400 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_udp_write()

static EFI_STATUS EFIAPI efi_null_pxe_udp_write ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
UINT16 flags  __unused,
EFI_IP_ADDRESS *dest_ip  __unused,
EFI_PXE_BASE_CODE_UDP_PORT *dest_port  __unused,
EFI_IP_ADDRESS *gateway  __unused,
EFI_IP_ADDRESS *src_ip  __unused,
EFI_PXE_BASE_CODE_UDP_PORT *src_port  __unused,
UINTN *hdr_len  __unused,
VOID *hdr  __unused,
UINTN *len  __unused,
VOID *data  __unused 
)
static

Definition at line 403 of file efi_null.c.

411  {
412  return EFI_UNSUPPORTED;
413 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_udp_read()

static EFI_STATUS EFIAPI efi_null_pxe_udp_read ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
UINT16 flags  __unused,
EFI_IP_ADDRESS *dest_ip  __unused,
EFI_PXE_BASE_CODE_UDP_PORT *dest_port  __unused,
EFI_IP_ADDRESS *src_ip  __unused,
EFI_PXE_BASE_CODE_UDP_PORT *src_port  __unused,
UINTN *hdr_len  __unused,
VOID *hdr  __unused,
UINTN *len  __unused,
VOID *data  __unused 
)
static

Definition at line 416 of file efi_null.c.

423  {
424  return EFI_UNSUPPORTED;
425 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_set_ip_filter()

static EFI_STATUS EFIAPI efi_null_pxe_set_ip_filter ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
EFI_PXE_BASE_CODE_IP_FILTER *filter  __unused 
)
static

Definition at line 428 of file efi_null.c.

429  {
430  return EFI_UNSUPPORTED;
431 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_arp()

static EFI_STATUS EFIAPI efi_null_pxe_arp ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
EFI_IP_ADDRESS *ip  __unused,
EFI_MAC_ADDRESS *mac  __unused 
)
static

Definition at line 434 of file efi_null.c.

436  {
437  return EFI_UNSUPPORTED;
438 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_set_parameters()

static EFI_STATUS EFIAPI efi_null_pxe_set_parameters ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
BOOLEAN *autoarp  __unused,
BOOLEAN *sendguid  __unused,
UINT8 *ttl  __unused,
UINT8 *tos  __unused,
BOOLEAN *callback  __unused 
)
static

Definition at line 441 of file efi_null.c.

445  {
446  return EFI_UNSUPPORTED;
447 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_set_station_ip()

static EFI_STATUS EFIAPI efi_null_pxe_set_station_ip ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
EFI_IP_ADDRESS *ip  __unused,
EFI_IP_ADDRESS *netmask  __unused 
)
static

Definition at line 450 of file efi_null.c.

452  {
453  return EFI_UNSUPPORTED;
454 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_pxe_set_packets()

static EFI_STATUS EFIAPI efi_null_pxe_set_packets ( EFI_PXE_BASE_CODE_PROTOCOL *pxe  __unused,
BOOLEAN *dhcpdisc_ok  __unused,
BOOLEAN *dhcpack_ok  __unused,
BOOLEAN *proxyoffer_ok  __unused,
BOOLEAN *pxebsdisc_ok  __unused,
BOOLEAN *pxebsack_ok  __unused,
BOOLEAN *pxebsbis_ok  __unused,
EFI_PXE_BASE_CODE_PACKET *dhcpdisc  __unused,
EFI_PXE_BASE_CODE_PACKET *dhcpack  __unused,
EFI_PXE_BASE_CODE_PACKET *proxyoffer  __unused,
EFI_PXE_BASE_CODE_PACKET *pxebsdisc  __unused,
EFI_PXE_BASE_CODE_PACKET *pxebsack  __unused,
EFI_PXE_BASE_CODE_PACKET *pxebsbis  __unused 
)
static

Definition at line 457 of file efi_null.c.

469  {
470  return EFI_UNSUPPORTED;
471 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_pxe()

void efi_nullify_pxe ( EFI_PXE_BASE_CODE_PROTOCOL pxe)

Nullify PXE base code protocol.

Parameters
pxePXE base code protocol

Definition at line 494 of file efi_null.c.

494  {
495 
496  memcpy ( pxe, &efi_null_pxe, offsetof ( typeof ( *pxe ), Mode ) );
497  pxe->Mode->Started = FALSE;
498 }
#define offsetof(type, field)
Get offset of a field within a structure.
Definition: stddef.h:24
static EFI_PXE_BASE_CODE_PROTOCOL efi_null_pxe
Definition: efi_null.c:473
void * memcpy(void *dest, const void *src, size_t len) __nonnull
#define FALSE
Definition: tlan.h:45
EFI_PXE_BASE_CODE_MODE * Mode
The pointer to the EFI_PXE_BASE_CODE_MODE data for this device.
Definition: PxeBaseCode.h:931

References efi_null_pxe, FALSE, memcpy(), _EFI_PXE_BASE_CODE_PROTOCOL::Mode, offsetof, and EFI_PXE_BASE_CODE_MODE::Started.

Referenced by efi_pxe_install(), and efi_pxe_uninstall().

◆ efi_null_apple_dhcp()

static EFI_STATUS EFIAPI efi_null_apple_dhcp ( EFI_APPLE_NET_BOOT_PROTOCOL *apple  __unused,
UINTN *len  __unused,
VOID *data  __unused 
)
static

Definition at line 508 of file efi_null.c.

509  {
510  return EFI_UNSUPPORTED;
511 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_apple_bsdp()

static EFI_STATUS EFIAPI efi_null_apple_bsdp ( EFI_APPLE_NET_BOOT_PROTOCOL *apple  __unused,
UINTN *len  __unused,
VOID *data  __unused 
)
static

Definition at line 514 of file efi_null.c.

515  {
516  return EFI_UNSUPPORTED;
517 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_apple()

void efi_nullify_apple ( EFI_APPLE_NET_BOOT_PROTOCOL apple)

Nullify Apple Net Boot protocol.

Parameters
appleApple Net Boot protocol

Definition at line 529 of file efi_null.c.

529  {
530 
531  memcpy ( apple, &efi_null_apple, sizeof ( *apple ) );
532 }
static EFI_APPLE_NET_BOOT_PROTOCOL efi_null_apple
Definition: efi_null.c:519
void * memcpy(void *dest, const void *src, size_t len) __nonnull

References efi_null_apple, and memcpy().

Referenced by efi_pxe_install(), and efi_pxe_uninstall().

◆ efi_null_usb_control_transfer()

static EFI_STATUS EFIAPI efi_null_usb_control_transfer ( EFI_USB_IO_PROTOCOL *usbio  __unused,
EFI_USB_DEVICE_REQUEST *packet  __unused,
EFI_USB_DATA_DIRECTION direction  __unused,
UINT32 timeout  __unused,
VOID *data  __unused,
UINTN len  __unused,
UINT32 *status  __unused 
)
static

Definition at line 542 of file efi_null.c.

546  {
547  return EFI_UNSUPPORTED;
548 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_bulk_transfer()

static EFI_STATUS EFIAPI efi_null_usb_bulk_transfer ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT8 endpoint  __unused,
VOID *data  __unused,
UINTN *len  __unused,
UINTN timeout  __unused,
UINT32 *status  __unused 
)
static

Definition at line 551 of file efi_null.c.

554  {
555  return EFI_UNSUPPORTED;
556 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_sync_interrupt_transfer()

static EFI_STATUS EFIAPI efi_null_usb_sync_interrupt_transfer ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT8 endpoint  __unused,
VOID *data  __unused,
UINTN *len  __unused,
UINTN timeout  __unused,
UINT32 *status  __unused 
)
static

Definition at line 559 of file efi_null.c.

564  {
565  return EFI_UNSUPPORTED;
566 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_async_interrupt_transfer()

static EFI_STATUS EFIAPI efi_null_usb_async_interrupt_transfer ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT8 endpoint  __unused,
BOOLEAN start  __unused,
UINTN interval  __unused,
UINTN len  __unused,
EFI_ASYNC_USB_TRANSFER_CALLBACK callback  __unused,
VOID *context  __unused 
)
static

Definition at line 569 of file efi_null.c.

576  {
577  return EFI_UNSUPPORTED;
578 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_isochronous_transfer()

static EFI_STATUS EFIAPI efi_null_usb_isochronous_transfer ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT8 endpoint  __unused,
VOID *data  __unused,
UINTN len  __unused,
UINT32 *status  __unused 
)
static

Definition at line 581 of file efi_null.c.

584  {
585  return EFI_UNSUPPORTED;
586 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_async_isochronous_transfer()

static EFI_STATUS EFIAPI efi_null_usb_async_isochronous_transfer ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT8 endpoint  __unused,
VOID *data  __unused,
UINTN len  __unused,
EFI_ASYNC_USB_TRANSFER_CALLBACK callback  __unused,
VOID *context  __unused 
)
static

Definition at line 589 of file efi_null.c.

595  {
596  return EFI_UNSUPPORTED;
597 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_get_device_descriptor()

static EFI_STATUS EFIAPI efi_null_usb_get_device_descriptor ( EFI_USB_IO_PROTOCOL *usbio  __unused,
EFI_USB_DEVICE_DESCRIPTOR *efidesc  __unused 
)
static

Definition at line 600 of file efi_null.c.

602  {
603  return EFI_UNSUPPORTED;
604 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_get_config_descriptor()

static EFI_STATUS EFIAPI efi_null_usb_get_config_descriptor ( EFI_USB_IO_PROTOCOL *usbio  __unused,
EFI_USB_CONFIG_DESCRIPTOR *efidesc  __unused 
)
static

Definition at line 607 of file efi_null.c.

609  {
610  return EFI_UNSUPPORTED;
611 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_get_interface_descriptor()

static EFI_STATUS EFIAPI efi_null_usb_get_interface_descriptor ( EFI_USB_IO_PROTOCOL *usbio  __unused,
EFI_USB_INTERFACE_DESCRIPTOR *efidesc  __unused 
)
static

Definition at line 614 of file efi_null.c.

616  {
617  return EFI_UNSUPPORTED;
618 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_get_endpoint_descriptor()

static EFI_STATUS EFIAPI efi_null_usb_get_endpoint_descriptor ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT8 index  __unused,
EFI_USB_ENDPOINT_DESCRIPTOR *efidesc  __unused 
)
static

Definition at line 621 of file efi_null.c.

624  {
625  return EFI_UNSUPPORTED;
626 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_get_string_descriptor()

static EFI_STATUS EFIAPI efi_null_usb_get_string_descriptor ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT16 language  __unused,
UINT8 index  __unused,
CHAR16 **string  __unused 
)
static

Definition at line 629 of file efi_null.c.

632  {
633  return EFI_UNSUPPORTED;
634 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_get_supported_languages()

static EFI_STATUS EFIAPI efi_null_usb_get_supported_languages ( EFI_USB_IO_PROTOCOL *usbio  __unused,
UINT16 **languages  __unused,
UINT16 *len  __unused 
)
static

Definition at line 637 of file efi_null.c.

639  {
640  return EFI_UNSUPPORTED;
641 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_null_usb_port_reset()

static EFI_STATUS EFIAPI efi_null_usb_port_reset ( EFI_USB_IO_PROTOCOL *usbio  __unused)
static

Definition at line 644 of file efi_null.c.

644  {
645  return EFI_UNSUPPORTED;
646 }
#define EFI_UNSUPPORTED
Enumeration of EFI_STATUS.
Definition: UefiBaseType.h:123

References EFI_UNSUPPORTED.

◆ efi_nullify_usbio()

void efi_nullify_usbio ( EFI_USB_IO_PROTOCOL usbio)

Nullify USB I/O protocol.

Parameters
usbioUSB I/O protocol

Definition at line 669 of file efi_null.c.

669  {
670 
671  memcpy ( usbio, &efi_null_usbio, sizeof ( *usbio ) );
672 }
void * memcpy(void *dest, const void *src, size_t len) __nonnull
static EFI_USB_IO_PROTOCOL efi_null_usbio
Definition: efi_null.c:648

References efi_null_usbio, and memcpy().

Referenced by efi_usb_install(), and efi_usb_uninstall().

Variable Documentation

◆ efi_null_snp

EFI_SIMPLE_NETWORK_PROTOCOL efi_null_snp
static
Initial value:
= {
.Initialize = efi_null_snp_initialize,
.Shutdown = efi_null_snp_shutdown,
.ReceiveFilters = efi_null_snp_receive_filters,
.StationAddress = efi_null_snp_station_address,
.Statistics = efi_null_snp_statistics,
.Transmit = efi_null_snp_transmit,
}
static EFI_STATUS EFIAPI efi_null_snp_receive_filters(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINT32 enable __unused, UINT32 disable __unused, BOOLEAN mcast_reset __unused, UINTN mcast_count __unused, EFI_MAC_ADDRESS *mcast __unused)
Definition: efi_null.c:72
static EFI_STATUS EFIAPI efi_null_snp_shutdown(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused)
Definition: efi_null.c:67
static EFI_STATUS EFIAPI efi_null_snp_nvdata(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN read __unused, UINTN offset __unused, UINTN len __unused, VOID *data __unused)
Definition: efi_null.c:104
static EFI_STATUS EFIAPI efi_null_snp_stop(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused)
Definition: efi_null.c:49
#define EFI_SIMPLE_NETWORK_PROTOCOL_REVISION
static EFI_STATUS EFIAPI efi_null_snp_station_address(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN reset __unused, EFI_MAC_ADDRESS *new __unused)
Definition: efi_null.c:82
static EFI_STATUS EFIAPI efi_null_snp_reset(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN ext_verify __unused)
Definition: efi_null.c:61
static EFI_STATUS EFIAPI efi_null_snp_receive(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINTN *ll_header_len __unused, UINTN *len __unused, VOID *data __unused, EFI_MAC_ADDRESS *ll_src __unused, EFI_MAC_ADDRESS *ll_dest __unused, UINT16 *net_proto __unused)
Definition: efi_null.c:126
static EFI_STATUS EFIAPI efi_null_snp_statistics(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN reset __unused, UINTN *stats_len __unused, EFI_NETWORK_STATISTICS *stats __unused)
Definition: efi_null.c:89
static EFI_STATUS EFIAPI efi_null_snp_transmit(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINTN ll_header_len __unused, UINTN len __unused, VOID *data __unused, EFI_MAC_ADDRESS *ll_src __unused, EFI_MAC_ADDRESS *ll_dest __unused, UINT16 *net_proto __unused)
Definition: efi_null.c:117
static EFI_STATUS EFIAPI efi_null_snp_start(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused)
Definition: efi_null.c:44
static EFI_STATUS EFIAPI efi_null_snp_initialize(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINTN extra_rx_bufsize __unused, UINTN extra_tx_bufsize __unused)
Definition: efi_null.c:54
static EFI_STATUS EFIAPI efi_null_snp_get_status(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, UINT32 *interrupts __unused, VOID **txbuf __unused)
Definition: efi_null.c:111
static EFI_STATUS EFIAPI efi_null_snp_mcast_ip_to_mac(EFI_SIMPLE_NETWORK_PROTOCOL *snp __unused, BOOLEAN ipv6 __unused, EFI_IP_ADDRESS *ip __unused, EFI_MAC_ADDRESS *mac __unused)
Definition: efi_null.c:96

Definition at line 134 of file efi_null.c.

Referenced by efi_nullify_snp().

◆ efi_null_undi

PXE_SW_UNDI efi_null_undi
static
Initial value:
= {
.Signature = PXE_ROMID_SIGNATURE,
.Len = sizeof ( efi_null_undi ),
.MajorVer = PXE_ROMID_MAJORVER,
.MinorVer = PXE_ROMID_MINORVER,
.Implementation = PXE_ROMID_IMP_SW_VIRT_ADDR,
}
#define PXE_ROMID_MAJORVER
UNDI command interface revision.
Definition: UefiPxe.h:853
#define PXE_ROMID_SIGNATURE
Signature of !PXE structure.
Definition: UefiPxe.h:841
UINT8_t Rev
PCI revision.
Definition: pxe_api.h:62
static PXE_SW_UNDI efi_null_undi
Definition: efi_null.c:177
#define PXE_ROMID_MINORVER
Definition: UefiPxe.h:854
#define PXE_ROMID_IMP_SW_VIRT_ADDR
Definition: UefiPxe.h:860
#define PXE_ROMID_REV
!PXE structure format revision
Definition: UefiPxe.h:846

Definition at line 177 of file efi_null.c.

Referenced by efi_nullify_nii().

◆ efi_null_name2

EFI_COMPONENT_NAME2_PROTOCOL efi_null_name2
static
Initial value:
= {
.GetDriverName = efi_null_get_driver_name,
.GetControllerName = efi_null_get_controller_name,
.SupportedLanguages = "",
}
static EFI_STATUS EFIAPI efi_null_get_driver_name(EFI_COMPONENT_NAME2_PROTOCOL *name2 __unused, CHAR8 *language __unused, CHAR16 **driver_name __unused)
Definition: efi_null.c:204
static EFI_STATUS EFIAPI efi_null_get_controller_name(EFI_COMPONENT_NAME2_PROTOCOL *name2 __unused, EFI_HANDLE device __unused, EFI_HANDLE child __unused, CHAR8 *language __unused, CHAR16 **controller_name __unused)
Definition: efi_null.c:211

Definition at line 219 of file efi_null.c.

Referenced by efi_nullify_name2().

◆ efi_null_hii

EFI_HII_CONFIG_ACCESS_PROTOCOL efi_null_hii
static
Initial value:
= {
.ExtractConfig = efi_null_hii_extract,
.RouteConfig = efi_null_hii_route,
.Callback = efi_null_hii_callback,
}
static EFI_STATUS EFIAPI efi_null_hii_callback(const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii __unused, EFI_BROWSER_ACTION action __unused, EFI_QUESTION_ID question_id __unused, UINT8 type __unused, EFI_IFR_TYPE_VALUE *value __unused, EFI_BROWSER_ACTION_REQUEST *action_request __unused)
Definition: efi_null.c:282
static EFI_STATUS EFIAPI efi_null_hii_route(const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii __unused, EFI_STRING config __unused, EFI_STRING *progress __unused)
Definition: efi_null.c:275
static EFI_STATUS EFIAPI efi_null_hii_extract(const EFI_HII_CONFIG_ACCESS_PROTOCOL *hii __unused, EFI_STRING request __unused, EFI_STRING *progress __unused, EFI_STRING *results __unused)
Definition: efi_null.c:267

Definition at line 290 of file efi_null.c.

Referenced by efi_nullify_hii().

◆ efi_null_block_media

EFI_BLOCK_IO_MEDIA efi_null_block_media
static

Definition at line 338 of file efi_null.c.

◆ efi_null_block

EFI_BLOCK_IO_PROTOCOL efi_null_block
static
Initial value:
= {
.ReadBlocks = efi_null_block_read,
.WriteBlocks = efi_null_block_write,
.FlushBlocks = efi_null_block_flush,
}
static EFI_STATUS EFIAPI efi_null_block_reset(EFI_BLOCK_IO_PROTOCOL *block __unused, BOOLEAN verify __unused)
Definition: efi_null.c:314
static EFI_STATUS EFIAPI efi_null_block_write(EFI_BLOCK_IO_PROTOCOL *block __unused, UINT32 media __unused, EFI_LBA lba __unused, UINTN len __unused, VOID *data __unused)
Definition: efi_null.c:327
#define EFI_BLOCK_IO_INTERFACE_REVISION
Revision defined in EFI1.1.
Definition: BlockIo.h:217
static EFI_STATUS EFIAPI efi_null_block_flush(EFI_BLOCK_IO_PROTOCOL *block __unused)
Definition: efi_null.c:334
static EFI_BLOCK_IO_MEDIA efi_null_block_media
Definition: efi_null.c:338
static EFI_STATUS EFIAPI efi_null_block_read(EFI_BLOCK_IO_PROTOCOL *block __unused, UINT32 media __unused, EFI_LBA lba __unused, UINTN len __unused, VOID *data __unused)
Definition: efi_null.c:320

Definition at line 340 of file efi_null.c.

Referenced by efi_nullify_block().

◆ efi_null_pxe

EFI_PXE_BASE_CODE_PROTOCOL efi_null_pxe
static
Initial value:
= {
.Discover = efi_null_pxe_discover,
.SetParameters = efi_null_pxe_set_parameters,
.SetStationIp = efi_null_pxe_set_station_ip,
.SetPackets = efi_null_pxe_set_packets,
}
static EFI_STATUS EFIAPI efi_null_pxe_arp(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_IP_ADDRESS *ip __unused, EFI_MAC_ADDRESS *mac __unused)
Definition: efi_null.c:434
static EFI_STATUS EFIAPI efi_null_pxe_dhcp(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN sort __unused)
Definition: efi_null.c:378
static EFI_STATUS EFIAPI efi_null_pxe_set_parameters(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN *autoarp __unused, BOOLEAN *sendguid __unused, UINT8 *ttl __unused, UINT8 *tos __unused, BOOLEAN *callback __unused)
Definition: efi_null.c:441
static EFI_STATUS EFIAPI efi_null_pxe_start(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN use_ipv6 __unused)
Definition: efi_null.c:367
static EFI_STATUS EFIAPI efi_null_pxe_set_packets(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, BOOLEAN *dhcpdisc_ok __unused, BOOLEAN *dhcpack_ok __unused, BOOLEAN *proxyoffer_ok __unused, BOOLEAN *pxebsdisc_ok __unused, BOOLEAN *pxebsack_ok __unused, BOOLEAN *pxebsbis_ok __unused, EFI_PXE_BASE_CODE_PACKET *dhcpdisc __unused, EFI_PXE_BASE_CODE_PACKET *dhcpack __unused, EFI_PXE_BASE_CODE_PACKET *proxyoffer __unused, EFI_PXE_BASE_CODE_PACKET *pxebsdisc __unused, EFI_PXE_BASE_CODE_PACKET *pxebsack __unused, EFI_PXE_BASE_CODE_PACKET *pxebsbis __unused)
Definition: efi_null.c:457
#define EFI_PXE_BASE_CODE_PROTOCOL_REVISION
Definition: PxeBaseCode.h:894
static EFI_STATUS EFIAPI efi_null_pxe_set_ip_filter(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_PXE_BASE_CODE_IP_FILTER *filter __unused)
Definition: efi_null.c:428
static EFI_STATUS EFIAPI efi_null_pxe_udp_read(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, UINT16 flags __unused, EFI_IP_ADDRESS *dest_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *dest_port __unused, EFI_IP_ADDRESS *src_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *src_port __unused, UINTN *hdr_len __unused, VOID *hdr __unused, UINTN *len __unused, VOID *data __unused)
Definition: efi_null.c:416
static EFI_STATUS EFIAPI efi_null_pxe_mtftp(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_PXE_BASE_CODE_TFTP_OPCODE opcode __unused, VOID *data __unused, BOOLEAN overwrite __unused, UINT64 *len __unused, UINTN *blksize __unused, EFI_IP_ADDRESS *ip __unused, UINT8 *filename __unused, EFI_PXE_BASE_CODE_MTFTP_INFO *info __unused, BOOLEAN callback __unused)
Definition: efi_null.c:392
static EFI_STATUS EFIAPI efi_null_pxe_udp_write(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, UINT16 flags __unused, EFI_IP_ADDRESS *dest_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *dest_port __unused, EFI_IP_ADDRESS *gateway __unused, EFI_IP_ADDRESS *src_ip __unused, EFI_PXE_BASE_CODE_UDP_PORT *src_port __unused, UINTN *hdr_len __unused, VOID *hdr __unused, UINTN *len __unused, VOID *data __unused)
Definition: efi_null.c:403
static EFI_STATUS EFIAPI efi_null_pxe_set_station_ip(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, EFI_IP_ADDRESS *ip __unused, EFI_IP_ADDRESS *netmask __unused)
Definition: efi_null.c:450
static EFI_STATUS EFIAPI efi_null_pxe_discover(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused, UINT16 type __unused, UINT16 *layer __unused, BOOLEAN bis __unused, EFI_PXE_BASE_CODE_DISCOVER_INFO *info __unused)
Definition: efi_null.c:384
static EFI_STATUS EFIAPI efi_null_pxe_stop(EFI_PXE_BASE_CODE_PROTOCOL *pxe __unused)
Definition: efi_null.c:373

Definition at line 473 of file efi_null.c.

Referenced by efi_nullify_pxe().

◆ efi_null_apple

EFI_APPLE_NET_BOOT_PROTOCOL efi_null_apple
static
Initial value:
= {
.GetDhcpResponse = efi_null_apple_dhcp,
.GetBsdpResponse = efi_null_apple_bsdp,
}
static EFI_STATUS EFIAPI efi_null_apple_dhcp(EFI_APPLE_NET_BOOT_PROTOCOL *apple __unused, UINTN *len __unused, VOID *data __unused)
Definition: efi_null.c:508
static EFI_STATUS EFIAPI efi_null_apple_bsdp(EFI_APPLE_NET_BOOT_PROTOCOL *apple __unused, UINTN *len __unused, VOID *data __unused)
Definition: efi_null.c:514

Definition at line 519 of file efi_null.c.

Referenced by efi_nullify_apple().

◆ efi_null_usbio

EFI_USB_IO_PROTOCOL efi_null_usbio
static
Initial value:
= {
.UsbControlTransfer = efi_null_usb_control_transfer,
.UsbBulkTransfer = efi_null_usb_bulk_transfer,
.UsbAsyncInterruptTransfer = efi_null_usb_async_interrupt_transfer,
.UsbSyncInterruptTransfer = efi_null_usb_sync_interrupt_transfer,
.UsbIsochronousTransfer = efi_null_usb_isochronous_transfer,
.UsbAsyncIsochronousTransfer = efi_null_usb_async_isochronous_transfer,
.UsbGetDeviceDescriptor = efi_null_usb_get_device_descriptor,
.UsbGetConfigDescriptor = efi_null_usb_get_config_descriptor,
.UsbGetInterfaceDescriptor = efi_null_usb_get_interface_descriptor,
.UsbGetEndpointDescriptor = efi_null_usb_get_endpoint_descriptor,
.UsbGetStringDescriptor = efi_null_usb_get_string_descriptor,
.UsbGetSupportedLanguages = efi_null_usb_get_supported_languages,
.UsbPortReset = efi_null_usb_port_reset,
}
static EFI_STATUS EFIAPI efi_null_usb_get_interface_descriptor(EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_INTERFACE_DESCRIPTOR *efidesc __unused)
Definition: efi_null.c:614
static EFI_STATUS EFIAPI efi_null_usb_get_endpoint_descriptor(EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 index __unused, EFI_USB_ENDPOINT_DESCRIPTOR *efidesc __unused)
Definition: efi_null.c:621
static EFI_STATUS EFIAPI efi_null_usb_get_string_descriptor(EFI_USB_IO_PROTOCOL *usbio __unused, UINT16 language __unused, UINT8 index __unused, CHAR16 **string __unused)
Definition: efi_null.c:629
static EFI_STATUS EFIAPI efi_null_usb_isochronous_transfer(EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN len __unused, UINT32 *status __unused)
Definition: efi_null.c:581
static EFI_STATUS EFIAPI efi_null_usb_port_reset(EFI_USB_IO_PROTOCOL *usbio __unused)
Definition: efi_null.c:644
static EFI_STATUS EFIAPI efi_null_usb_control_transfer(EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_DEVICE_REQUEST *packet __unused, EFI_USB_DATA_DIRECTION direction __unused, UINT32 timeout __unused, VOID *data __unused, UINTN len __unused, UINT32 *status __unused)
Definition: efi_null.c:542
static EFI_STATUS EFIAPI efi_null_usb_sync_interrupt_transfer(EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN *len __unused, UINTN timeout __unused, UINT32 *status __unused)
Definition: efi_null.c:559
static EFI_STATUS EFIAPI efi_null_usb_get_config_descriptor(EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_CONFIG_DESCRIPTOR *efidesc __unused)
Definition: efi_null.c:607
static EFI_STATUS EFIAPI efi_null_usb_get_supported_languages(EFI_USB_IO_PROTOCOL *usbio __unused, UINT16 **languages __unused, UINT16 *len __unused)
Definition: efi_null.c:637
static EFI_STATUS EFIAPI efi_null_usb_async_interrupt_transfer(EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, BOOLEAN start __unused, UINTN interval __unused, UINTN len __unused, EFI_ASYNC_USB_TRANSFER_CALLBACK callback __unused, VOID *context __unused)
Definition: efi_null.c:569
static EFI_STATUS EFIAPI efi_null_usb_bulk_transfer(EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN *len __unused, UINTN timeout __unused, UINT32 *status __unused)
Definition: efi_null.c:551
static EFI_STATUS EFIAPI efi_null_usb_async_isochronous_transfer(EFI_USB_IO_PROTOCOL *usbio __unused, UINT8 endpoint __unused, VOID *data __unused, UINTN len __unused, EFI_ASYNC_USB_TRANSFER_CALLBACK callback __unused, VOID *context __unused)
Definition: efi_null.c:589
static EFI_STATUS EFIAPI efi_null_usb_get_device_descriptor(EFI_USB_IO_PROTOCOL *usbio __unused, EFI_USB_DEVICE_DESCRIPTOR *efidesc __unused)
Definition: efi_null.c:600

Definition at line 648 of file efi_null.c.

Referenced by efi_nullify_usbio().