/** @file\r
\r
-Copyright (c) 1999 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 1999 - 2018, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions\r
@param This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
@param Controller The handle of the controller to test.\r
@param RemainingDevicePath A pointer to the remaining portion of a device path.\r
- \r
+\r
@retval EFI_SUCCESS The driver supports given controller.\r
@retval EFI_UNSUPPORT The driver doesn't support given controller.\r
@retval Other Other errors prevent driver finishing to test\r
@param This A pointer to the EFI_DRIVER_BINDING_PROTOCOL instance.\r
@param Controller The handle of the controller to test.\r
@param RemainingDevicePath A pointer to the remaining portion of a device path.\r
- \r
- @retval EFI_SUCCESS - The device was started. \r
+\r
+ @retval EFI_SUCCESS - The device was started.\r
@retval EFI_DEVICE_ERROR - The device could not be started due to a device error.\r
@retval EFI_OUT_OF_RESOURCES - The request could not be completed due to a lack of resources.\r
**/\r
@param NumberOfChildren The number of child device handles in ChildHandleBuffer.\r
@param ChildHandleBuffer An array of child handles to be freed. May be NULL if\r
NumberOfChildren is 0.\r
- \r
+\r
@retval EFI_SUCCESS - The device was stopped.\r
@retval EFI_DEVICE_ERROR - The device could not be stopped due to a device error.\r
**/\r
Call 16 bit UNDI ROM to start the network interface\r
\r
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
- \r
+\r
@retval EFI_DEVICE_ERROR Network interface has not be initialized.\r
@retval EFI_DEVICE_ERROR Fail to execute 16 bit ROM call.\r
@retval EFI_SUCESS Success operation.\r
Call 16 bit UNDI ROM to stop the network interface\r
\r
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
- \r
+\r
@retval EFI_DEVICE_ERROR Network interface has not be initialized.\r
@retval EFI_DEVICE_ERROR Fail to execute 16 bit ROM call.\r
@retval EFI_SUCESS Success operation.\r
;\r
\r
/**\r
- Initialize network interface \r
+ Initialize network interface\r
\r
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
@param ExtraRxBufferSize The size of extra request receive buffer.\r
@param ExtraTxBufferSize The size of extra request transmit buffer.\r
- \r
+\r
@retval EFI_DEVICE_ERROR Fail to execute 16 bit ROM call.\r
@retval EFI_SUCESS Success operation.\r
**/\r
\r
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
@param ExtendedVerification Need extended verfication.\r
- \r
+\r
@retval EFI_INVALID_PARAMETER Invalid This parameter.\r
@retval EFI_DEVICE_ERROR Network device has not been initialized.\r
@retval EFI_NOT_STARTED Network device has been stopped.\r
Shutdown network interface.\r
\r
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
- \r
+\r
@retval EFI_INVALID_PARAMETER Invalid This parameter.\r
@retval EFI_DEVICE_ERROR Network device has not been initialized.\r
@retval EFI_NOT_STARTED Network device has been stopped.\r
@param ResetMCastFilter Whether reset multi cast filter or not\r
@param MCastFilterCnt Count of mutli cast filter for different MAC address\r
@param MCastFilter Buffer for mustli cast filter for different MAC address.\r
- \r
+\r
@retval EFI_INVALID_PARAMETER Invalid This parameter.\r
@retval EFI_DEVICE_ERROR Network device has not been initialized.\r
@retval EFI_NOT_STARTED Network device has been stopped.\r
@param This A pointer to EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
@param Reset Whether reset station MAC address to permanent address\r
@param New A pointer to New address\r
- \r
+\r
@retval EFI_INVALID_PARAMETER Invalid This parameter.\r
@retval EFI_DEVICE_ERROR Network device has not been initialized.\r
@retval EFI_NOT_STARTED Network device has been stopped.\r
@param Reset Whether cleanup old statistics data.\r
@param StatisticsSize The buffer of statistics table.\r
@param StatisticsTable A pointer to statistics buffer.\r
- \r
+\r
@retval EFI_INVALID_PARAMETER Invalid This parameter.\r
@retval EFI_DEVICE_ERROR Network device has not been initialized.\r
@retval EFI_NOT_STARTED Network device has been stopped.\r
@param IPv6 IPv6 or IPv4\r
@param IP A pointer to given Ip address.\r
@param MAC On return, translated MAC address.\r
- \r
+\r
@retval EFI_INVALID_PARAMETER Invalid This parameter.\r
@retval EFI_INVALID_PARAMETER Invalid IP address.\r
@retval EFI_INVALID_PARAMETER Invalid return buffer for holding MAC address.\r
- @retval EFI_UNSUPPORTED Do not support IPv6 \r
+ @retval EFI_UNSUPPORTED Do not support IPv6\r
@retval EFI_DEVICE_ERROR Network device has not been initialized.\r
@retval EFI_NOT_STARTED Network device has been stopped.\r
@retval EFI_DEVICE_ERROR Invalid status for network device\r
;\r
\r
/**\r
- Performs read and write operations on the NVRAM device attached to a \r
+ Performs read and write operations on the NVRAM device attached to a\r
network interface.\r
\r
@param This The protocol instance pointer.\r
;\r
\r
/**\r
- Reads the current interrupt status and recycled transmit buffer status from \r
+ Reads the current interrupt status and recycled transmit buffer status from\r
a network interface.\r
\r
@param This The protocol instance pointer.\r
\r
@retval EFI_SUCCESS The packet was placed on the transmit queue.\r
@retval EFI_NOT_STARTED The network interface has not been started.\r
- @retval EFI_NOT_READY The network interface is too busy to accept this transmit request. \r
+ @retval EFI_NOT_READY The network interface is too busy to accept this transmit request.\r
@retval EFI_BUFFER_TOO_SMALL The BufferSize parameter is too small.\r
@retval EFI_INVALID_PARAMETER One or more of the parameters has an unsupported value.\r
@retval EFI_DEVICE_ERROR The command could not be sent to the network interface.\r
\r
@param Event Event used with WaitForEvent() to wait for a packet to be received.\r
@param Context Event Context\r
- \r
+\r
**/\r
VOID\r
EFIAPI\r
Check whether packet is ready for receive.\r
\r
@param This The protocol instance pointer.\r
- \r
+\r
@retval EFI_SUCCESS Receive data is ready.\r
@retval EFI_NOT_STARTED The network interface has not been started.\r
@retval EFI_NOT_READY The network interface is too busy to accept this transmit\r
Cache Interrupt verctor address converted from IVT number.\r
\r
@param VectorNumber IVT number\r
- \r
+\r
@retval EFI_SUCCESS Success to operation.\r
**/\r
EFI_STATUS\r
;\r
\r
/**\r
- Get interrupt vector address according to IVT number. \r
- \r
+ Get interrupt vector address according to IVT number.\r
+\r
@param VectorNumber Given IVT number\r
- \r
+\r
@return cached interrupt vector address.\r
**/\r
EFI_STATUS\r
If available, launch the BaseCode from a NIC option ROM.\r
This should install the !PXE and PXENV+ structures in memory for\r
subsequent use.\r
- \r
+\r
\r
@param SimpleNetworkDevice Simple network device instance\r
@param RomAddress The ROM base address for NIC rom.\r
- \r
- @retval EFI_NOT_FOUND The check sum does not match \r
- @retval EFI_NOT_FOUND Rom ID offset is wrong \r
- @retval EFI_NOT_FOUND No Rom ID structure is found \r
+\r
+ @retval EFI_NOT_FOUND The check sum does not match\r
+ @retval EFI_NOT_FOUND Rom ID offset is wrong\r
+ @retval EFI_NOT_FOUND No Rom ID structure is found\r
**/\r
EFI_STATUS\r
LaunchBaseCode (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
START UNDI\r
Op-Code: PXENV_START_UNDI (0000h)\r
Input: Far pointer to a PXENV_START_UNDI_T parameter structure that has been initialized by the caller.\r
contents of these registers can be found in the [PnP], [PCI] and\r
[BBS] specifications.\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
+ Status: See the PXENV_STATUS_xxx constants.\r
\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeStartUndi (\r
;\r
\r
/**\r
- PXE \r
- UNDI STARTUP \r
+ PXE\r
+ UNDI STARTUP\r
Op-Code: PXENV_UNDI_STARTUP (0001h)\r
Input: Far pointer to a PXENV_UNDI_STARTUP_T parameter structure that has been initialized by the\r
caller.\r
chaining interrupt 1Ah. This must be done by the PXENV_START_UNDI and\r
PXENV_STOP_UNDI API calls.\r
This service cannot be used in protected mode.\r
- typedef struct \r
+ typedef struct\r
{\r
PXENV_STATUS Status;\r
} PXENV_UNDI_STARTUP_T;\r
Status: See the PXENV_STATUS_xxx constants.\r
\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiStartup (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI CLEANUP\r
Op-Code: PXENV_UNDI_CLEANUP (0002h)\r
Input: Far pointer to a PXENV_UNDI_CLEANUP_T parameter structure.\r
Status: See the PXENV_STATUS_xxx constants.\r
\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiCleanup (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI INITIALIZE\r
Op-Code: PXENV_UNDI_INITIALIZE (0003h)\r
Input: Far pointer to a PXENV_UNDI_INITIALIZE_T parameter structure that has been initialized by the\r
protocol.ini file was done by NDIS.) This value can be NULL for any\r
other application interfacing to the universal NIC driver\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
- \r
+ Status: See the PXENV_STATUS_xxx constants.\r
+\r
@param SimpleNetworkDevice Device instance.\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiInitialize (\r
\r
/**\r
Wrapper routine for reset adapter.\r
- \r
- PXE \r
+\r
+ PXE\r
UNDI RESET ADAPTER\r
Op-Code: PXENV_UNDI_RESET_ADAPTER (0004h)\r
Input: Far pointer to a PXENV_UNDI_RESET_ADAPTER_t parameter structure that has been initialized\r
addresses.\r
Returned from API service\r
Status: See the PXENV_STATUS_xxx constants.\r
- \r
+\r
@param SimpleNetworkDevice Device instance.\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- @param RxFilter Filter setting mask value for PXE recive . \r
- \r
- @return Return value of PXE option ROM far call. \r
+ @param RxFilter Filter setting mask value for PXE recive .\r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiResetNic (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI SHUTDOWN\r
Op-Code: PXENV_UNDI_SHUTDOWN (0005h)\r
Input: Far pointer to a PXENV_UNDI_SHUTDOWN_T parameter.\r
Description: This call resets the network adapter and leaves it in a safe state for another driver to program it.\r
Note: The contents of the PXENV_UNDI_STARTUP parameter structure need to be saved by the\r
Universal NIC Driver in case PXENV_UNDI_INITIALIZE is called again.\r
- typedef struct \r
+ typedef struct\r
{\r
PXENV_STATUS Status;\r
} PXENV_UNDI_SHUTDOWN_T;\r
N/A\r
Returned from API service\r
Status: See the PXENV_STATUS_xxx constants.\r
- \r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiShutdown (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI OPEN\r
Op-Code: PXENV_UNDI_OPEN (0006h)\r
Input: Far pointer to a PXENV_UNDI_OPEN_T parameter structure that has been initialized by the caller.\r
R_Mcast_Buf: See definition in UNDI RESET ADAPTER (0004h).\r
Returned from API service\r
Status: See the PXENV_STATUS_xxx constants.\r
- \r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiOpen (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI CLOSE\r
Op-Code: PXENV_UNDI_CLOSE (0007h)\r
Input: Far pointer to a PXENV_UNDI_CLOSE_T parameter.\r
N/A\r
Returned from API service\r
Status: See the PXENV_STATUS_xxx constants.\r
- \r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiClose (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI TRANSMIT PACKET\r
Op-Code: PXENV_UNDI_TRANSMIT (0008h)\r
Input: Far pointer to a PXENV_UNDI_TRANSMIT_T parameter structure that\r
TDDataPtr: Segment:Offset of the transmit block.\r
DataBlock: Array of transmit data blocks.\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants \r
- \r
+ Status: See the PXENV_STATUS_xxx constants\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiTransmit (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI SET MULTICAST ADDRESS\r
Op-Code: PXENV_UNDI_SET_MCAST_ADDRESS (0009h)\r
Input: Far pointer to a PXENV_TFTP_SET_MCAST_ADDRESS_t parameter structure that has been\r
R_Mcast_Buf: See description in the UNDI RESET ADAPTER\r
(0004h) API.\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants \r
- \r
+ Status: See the PXENV_STATUS_xxx constants\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiSetMcastAddr (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI SET STATION ADDRESS\r
Op-Code: PXENV_UNDI_SET_STATION_ADDRESS (000Ah)\r
Input: Far pointer to a PXENV_UNDI_SET_STATION_ADDRESS_t parameter structure that has been\r
StationAddress: Temporary MAC address to be used for\r
transmit and receive.\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
- \r
+ Status: See the PXENV_STATUS_xxx constants.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiSetStationAddr (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI SET PACKET FILTER\r
Op-Code: PXENV_UNDI_SET_PACKET_FILTER (000Bh)\r
Input: Far pointer to a PXENV_UNDI_SET_PACKET_FILTER_T parameter structure that has been\r
Filter: See the receive filter values in the UNDI OPEN\r
(0006h) API description.\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
- \r
+ Status: See the PXENV_STATUS_xxx constants.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiSetPacketFilter (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI GET INFORMATION\r
Op-Code: PXENV_UNDI_GET_INFORMATION (000Ch)\r
Input: Far pointer to a PXENV_UNDI_GET_INFORMATION_T parameter structure that has been\r
PermNodeAddress: Permanent hardware address.\r
ROMAddress: Real mode ROM segment address.\r
RxBufCnt: Receive queue length.\r
- TxBufCnt: Transmit queue length. \r
- \r
+ TxBufCnt: Transmit queue length.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiGetInformation (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI GET STATISTICS\r
Op-Code: PXENV_UNDI_GET_STATISTICS (000Dh)\r
Input: Far pointer to a PXENV_UNDI_GET_STATISTICS_T parameter structure that has been initialized\r
error.\r
RcvResourceErrors: Number of frames discarded\r
because receive queue was full.\r
- \r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiGetStatistics (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI CLEAR STATISTICS\r
Op-Code: PXENV_UNDI_CLEAR_STATISTICS (000Eh)\r
Input: Far pointer to a PXENV_UNDI_CLEAR_STATISTICS_T parameter.\r
N/A\r
Returned from API service\r
Status: See the PXENV_STATUS_xxx constants.\r
- \r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiClearStatistics (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI INITIATE DIAGS\r
Op-Code: PXENV_UNDI_INITIATE_DIAGS (000Fh)\r
Input: Far pointer to a PXENV_UNDI_INITIATE_DIAGS_T parameter.\r
Set before calling API service\r
N/A\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
- \r
+ Status: See the PXENV_STATUS_xxx constants.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiInitiateDiags (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI FORCE INTERRUPT\r
Op-Code: PXENV_UNDI_FORCE_INTERRUPT (0010h)\r
Input: Far pointer to a PXENV_UNDI_FORCE_INTERRUPT_T parameter structure that has been\r
Set before calling API service\r
N/A\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
- \r
+ Status: See the PXENV_STATUS_xxx constants.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiForceInterrupt (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI GET MULTICAST ADDRESS\r
Op-Code: PXENV_UNDI_GET_MCAST_ADDRESS (0011h)\r
Input: Far pointer to a PXENV_GET_MCAST_ADDRESS_t parameter structure that has been initialized\r
Returned from API service\r
Status: See the PXENV_STATUS_xxx constants.\r
MediaAddr: MAC multicast address.\r
- \r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiGetMcastAddr (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI GET NIC TYPE\r
Op-Code: PXENV_UNDI_GET_NIC_TYPE (0012h)\r
Input: Far pointer to a PXENV_UNDI_GET_NIC_TYPE_T parameter structure that has been initialized by\r
NICType: Type of NIC information stored in the parameter\r
structure.\r
Info: Information about the fields in this union can be found\r
- in the [PnP] and [PCI] specifications \r
- \r
+ in the [PnP] and [PCI] specifications\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiGetNicType (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI GET IFACE INFO\r
Op-Code: PXENV_UNDI_GET_IFACE_INFO (0013h)\r
Input: Far pointer to a PXENV_UNDI_GET_IFACE_INFO_t parameter structure that has been initialized\r
to the protocol driver.\r
LinkSpeed: Defined in the NDIS 2.0 specification.\r
ServiceFlags: Defined in the NDIS 2.0 specification.\r
- Reserved: Must be zero. \r
- \r
+ Reserved: Must be zero.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiGetNdisInfo (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI ISR\r
Op-Code: PXENV_UNDI_ISR (0014h)\r
Input: Far pointer to a PXENV_UNDI_ISR_T parameter structure that has been initialized by the caller.\r
if there is no other interrupt status to be processed, UNDI re-enables the interrupt at the\r
NETWORK INTERFACE level and returns PXENV_UNDI_ISR_OUT_DONE in the FuncFlag.\r
IMPORTANT: It is possible for the protocol driver to be interrupted again while in the\r
- strategy routine when the UNDI re-enables interrupts. \r
- \r
+ strategy routine when the UNDI re-enables interrupts.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiIsr (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
STOP UNDI\r
Op-Code: PXENV_STOP_UNDI (0015h)\r
Input: Far pointer to a PXENV_STOP_UNDI_T parameter structure that has been initialized by the caller.\r
Set before calling API service\r
N/A\r
Returned from API service\r
- Status: See the PXENV_STATUS_xxx constants. \r
- \r
+ Status: See the PXENV_STATUS_xxx constants.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiStop (\r
;\r
\r
/**\r
- PXE \r
+ PXE\r
UNDI GET STATE\r
Op-Code: PXENV_UNDI_GET_STATE (0015h)\r
Input: Far pointer to a PXENV_UNDI_GET_STATE_T parameter.\r
constants.\r
Description: This API function will be called at different levels of processing the interrupt. The FuncFlag field in\r
the parameter block indicates the operation to be performed for the call. This field is filled with the\r
- status of that operation on return. \r
- \r
+ status of that operation on return.\r
+\r
@param SimpleNetworkDevice Device instance\r
- @param PxeUndiTable Point to structure which hold parameter and return value \r
+ @param PxeUndiTable Point to structure which hold parameter and return value\r
for option ROM call.\r
- \r
- @return Return value of PXE option ROM far call. \r
+\r
+ @return Return value of PXE option ROM far call.\r
**/\r
EFI_STATUS\r
PxeUndiGetState (\r
push offset pxe_data_call_struct ;is pushed onto stack.\r
push Index ;UINT16 is pushed onto stack.\r
call dword ptr (s_PXE ptr es:[di]).EntryPointSP\r
- add sp, 6 ;Caller cleans up stack. \r
+ add sp, 6 ;Caller cleans up stack.\r
\r
@param SimpleNetworkDevice Device instance for simple network\r
@param Table Point to parameter/retun value table for legacy far call\r
@param TableSize The size of parameter/return value table\r
@param CallIndex The index of legacy call.\r
- \r
- @return EFI_STATUS \r
+\r
+ @return EFI_STATUS\r
**/\r
EFI_STATUS\r
MakePxeCall (\r
\r
@param NumPages The number pages want to be allocated.\r
@param Buffer On return, allocated buffer.\r
- \r
+\r
@return Status of allocating pages.\r
**/\r
EFI_STATUS\r