Related Definitions
//*******************************************************
// EFI_PXE_BASE_CODE_CALLBACK_STATUS
//*******************************************************
typedef enum {
EFI_PXE_BASE_CODE_CALLBACK_STATUS_FIRST,
EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE,
EFI_PXE_BASE_CODE_CALLBACK_STATUS_ABORT,
EFI_PXE_BASE_CODE_CALLBACK_STATUS_LAST
} EFI_PXE_BASE_CODE_CALLBACK_STATUS;
//*******************************************************
// EFI_PXE_BASE_CODE_FUNCTION
//*******************************************************
typedef enum {
EFI_PXE_BASE_CODE_FUNCTION_FIRST,
EFI_PXE_BASE_CODE_FUNCTION_DHCP,
EFI_PXE_BASE_CODE_FUNCTION_DISCOVER,
EFI_PXE_BASE_CODE_FUNCTION_MTFTP,
EFI_PXE_BASE_CODE_FUNCTION_UDP_WRITE,
EFI_PXE_BASE_CODE_FUNCTION_UDP_READ,
EFI_PXE_BASE_CODE_FUNCTION_ARP,
EFI_PXE_BASE_CODE_FUNCTION_IGMP,
EFI_PXE_BASE_CODE_PXE_FUNCTION_LAST
} EFI_PXE_BASE_CODE_FUNCTION;
Description
This function is invoked when the PXE Base Code Protocol is about to transmit, has received, or is
waiting to receive a packet. Parameters
Parameters
PacketLen
are zero and
respectively, then this is a status update callback. If the operation specified by
NULL
is to continue, then
Function
operation specified by
Function
be returned. Due to the polling nature of EFI device drivers, a callback function should not execute
for more than 5 ms.
The
EFI_PXE_BASE_CODE.SetParameters()
Protocol is installed to enable the use of callbacks.
Version 1.02
Function
and
specify the packet that generated the event. If these fields
Packet
CALLBACK_STATUS_CONTINUE
should be aborted, then
12/12/00
PXE Base Code Protocol
and
specify the type of event.
Received
should be returned. If the
CALLBACK_STATUS_ABORT
function must be called after a Callback
should
275
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?