]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/BiosSnp16.h
IntelFrameworkModulePkg: Clean up source files
[mirror_edk2.git] / IntelFrameworkModulePkg / Csm / BiosThunk / Snp16Dxe / BiosSnp16.h
index 447783cd2ec43eaadb15e4a95f99db53d9159a34..501e27b9c8a557bffdb8a87fa98e322bed77bbd0 100644 (file)
@@ -1,6 +1,6 @@
 /** @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
@@ -119,7 +119,7 @@ extern EFI_COMPONENT_NAME2_PROTOCOL gBiosSnp16ComponentName2;
   @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
@@ -140,8 +140,8 @@ BiosSnp16DriverBindingSupported (
   @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
@@ -162,7 +162,7 @@ BiosSnp16DriverBindingStart (
   @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
@@ -183,7 +183,7 @@ BiosSnp16DriverBindingStop (
   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
@@ -199,7 +199,7 @@ Undi16SimpleNetworkStart (
   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
@@ -212,12 +212,12 @@ Undi16SimpleNetworkStop (
 ;\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
@@ -235,7 +235,7 @@ Undi16SimpleNetworkInitialize (
 \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
@@ -254,7 +254,7 @@ Undi16SimpleNetworkReset (
   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
@@ -277,7 +277,7 @@ Undi16SimpleNetworkShutdown (
   @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
@@ -302,7 +302,7 @@ Undi16SimpleNetworkReceiveFilters (
   @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
@@ -325,7 +325,7 @@ Undi16SimpleNetworkStationAddress (
   @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
@@ -349,11 +349,11 @@ Undi16SimpleNetworkStatistics (
   @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
@@ -370,7 +370,7 @@ Undi16SimpleNetworkMCastIpToMac (
 ;\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
@@ -401,7 +401,7 @@ Undi16SimpleNetworkNvData (
 ;\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
@@ -460,7 +460,7 @@ Undi16SimpleNetworkGetStatus (
 \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
@@ -530,7 +530,7 @@ Undi16SimpleNetworkReceive (
 \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
@@ -544,7 +544,7 @@ Undi16SimpleNetworkWaitForPacket (
   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
@@ -564,7 +564,7 @@ Undi16SimpleNetworkCheckForPacket (
  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
@@ -574,10 +574,10 @@ CacheVectorAddress (
 ;\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
@@ -590,14 +590,14 @@ RestoreCachedVectorAddress (
   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
@@ -607,7 +607,7 @@ LaunchBaseCode (
 ;\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
@@ -636,13 +636,13 @@ LaunchBaseCode (
   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
@@ -652,8 +652,8 @@ PxeStartUndi (
 ;\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
@@ -670,7 +670,7 @@ PxeStartUndi (
   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
@@ -680,10 +680,10 @@ PxeStartUndi (
   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
@@ -693,7 +693,7 @@ PxeUndiStartup (
 ;\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
@@ -713,10 +713,10 @@ PxeUndiStartup (
   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
@@ -726,7 +726,7 @@ PxeUndiCleanup (
 ;\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
@@ -756,13 +756,13 @@ PxeUndiCleanup (
   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
@@ -773,8 +773,8 @@ PxeUndiInitialize (
 \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
@@ -806,13 +806,13 @@ PxeUndiInitialize (
   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
@@ -823,7 +823,7 @@ PxeUndiResetNic (
 ;\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
@@ -833,7 +833,7 @@ PxeUndiResetNic (
   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
@@ -841,12 +841,12 @@ PxeUndiResetNic (
   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
@@ -856,7 +856,7 @@ PxeUndiShutdown (
 ;\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
@@ -888,12 +888,12 @@ PxeUndiShutdown (
   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
@@ -903,7 +903,7 @@ PxeUndiOpen (
 ;\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
@@ -919,12 +919,12 @@ PxeUndiOpen (
   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
@@ -934,7 +934,7 @@ PxeUndiClose (
 ;\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
@@ -1004,13 +1004,13 @@ PxeUndiClose (
   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
@@ -1020,7 +1020,7 @@ PxeUndiTransmit (
 ;\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
@@ -1038,13 +1038,13 @@ PxeUndiTransmit (
   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
@@ -1054,7 +1054,7 @@ PxeUndiSetMcastAddr (
 ;\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
@@ -1073,13 +1073,13 @@ PxeUndiSetMcastAddr (
   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
@@ -1089,7 +1089,7 @@ PxeUndiSetStationAddr (
 ;\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
@@ -1107,13 +1107,13 @@ PxeUndiSetStationAddr (
   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
@@ -1123,7 +1123,7 @@ PxeUndiSetPacketFilter (
 ;\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
@@ -1166,13 +1166,13 @@ PxeUndiSetPacketFilter (
   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
@@ -1182,7 +1182,7 @@ PxeUndiGetInformation (
 ;\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
@@ -1208,12 +1208,12 @@ PxeUndiGetInformation (
   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
@@ -1223,7 +1223,7 @@ PxeUndiGetStatistics (
 ;\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
@@ -1238,12 +1238,12 @@ PxeUndiGetStatistics (
   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
@@ -1253,7 +1253,7 @@ PxeUndiClearStatistics (
 ;\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
@@ -1268,13 +1268,13 @@ PxeUndiClearStatistics (
   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
@@ -1284,7 +1284,7 @@ PxeUndiInitiateDiags (
 ;\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
@@ -1305,13 +1305,13 @@ PxeUndiInitiateDiags (
   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
@@ -1321,7 +1321,7 @@ PxeUndiForceInterrupt (
 ;\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
@@ -1340,12 +1340,12 @@ PxeUndiForceInterrupt (
   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
@@ -1355,7 +1355,7 @@ PxeUndiGetMcastAddr (
 ;\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
@@ -1405,13 +1405,13 @@ PxeUndiGetMcastAddr (
   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
@@ -1421,7 +1421,7 @@ PxeUndiGetNicType (
 ;\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
@@ -1454,13 +1454,13 @@ PxeUndiGetNicType (
   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
@@ -1470,7 +1470,7 @@ PxeUndiGetNdisInfo (
 ;\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
@@ -1512,13 +1512,13 @@ PxeUndiGetNdisInfo (
   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
@@ -1528,7 +1528,7 @@ PxeUndiIsr (
 ;\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
@@ -1547,13 +1547,13 @@ PxeUndiIsr (
   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
@@ -1563,7 +1563,7 @@ PxeUndiStop (
 ;\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
@@ -1595,13 +1595,13 @@ PxeUndiStop (
   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
@@ -1619,14 +1619,14 @@ PxeUndiGetState (
       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
@@ -1642,7 +1642,7 @@ MakePxeCall (
 \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