extern EFI_GUID gLoadFixedAddressConfigurationTableGuid;\r
\r
typedef struct {\r
- EFI_PHYSICAL_ADDRESS DxeCodeTopAddress; ///< The top address below which the Dxe runtime code and below which the Dxe runtime/boot code and PEI code.\r
- EFI_PHYSICAL_ADDRESS SmramBase; ///< SMM RAME base. build tool will assigned an offset relative to SMRAM base for SMM driver.\r
+ EFI_PHYSICAL_ADDRESS DxeCodeTopAddress; ///< The top address below which the Dxe runtime code and below which the Dxe runtime/boot code and PEI code.\r
+ EFI_PHYSICAL_ADDRESS SmramBase; ///< SMRAM base address. The build tool assigns an offset relative to the SMRAM base for a SMM driver.\r
} EFI_LOAD_FIXED_ADDRESS_CONFIGURATION_TABLE;\r
\r
#endif\r
\r
@param[in] IcmpError IcmpError Type.\r
@param[in] IpVersion The version of the IP protocol to use,\r
- either IPv4 or IPv6.\r
- \r
- @param[out] IsHard Whether it is a hard error.\r
- @param[out] Notify Whether it need to notify SockError.\r
+ either IPv4 or IPv6. \r
+ @param[out] IsHard If TRUE, indicates that it is a hard error.\r
+ @param[out] Notify If TRUE, SockError needs to be notified.\r
\r
@return The ICMP Error Status, such as EFI_NETWORK_UNREACHABLE.\r
\r
byte stream.\r
\r
@param[in, out] Buf The buffer in which to put the UINT32.\r
- @param[in] Data The data to put.\r
+ @param[in] Data The data to be converted and put into the byte stream.\r
\r
**/\r
VOID\r
\r
The underlying UNDI driver may or may not support reporting media status from\r
GET_STATUS command (PXE_STATFLAGS_GET_STATUS_NO_MEDIA_SUPPORTED). This routine\r
- will try to invoke Snp->GetStatus() to get the media status. Iif media is already\r
- present, it returns directly. If media isnot present, it will stop SNP and then\r
- restart SNP to get the latest media status. This provides an opportunity to get \r
+ will try to invoke Snp->GetStatus() to get the media status. If media is already\r
+ present, it returns directly. If media is not present, it will stop SNP and then\r
+ restart SNP to get the latest media status. This provides an opportunity to get \r
the correct media status for old UNDI driver, which doesn't support reporting \r
media status from GET_STATUS command.\r
Note: there are two limitations for the current algorithm:\r
1) For UNDI with this capability, when the cable is not attached, there will\r
be an redundant Stop/Start() process.\r
- 2) For UNDI without this capability, when the cable is attached, the UNDI\r
- initializes while unattached. Later, NetLibDetectMedia() will report\r
- MediaPresent as TRUE, causing upper layer apps to wait for timeout time.\r
+ 2) for UNDI without this capability, in case that network cable is attached when\r
+ Snp->Initialize() is invoked while network cable is unattached later,\r
+ NetLibDetectMedia() will report MediaPresent as TRUE, causing upper layer\r
+ apps to wait for timeout time.\r
\r
@param[in] ServiceHandle The handle where network service binding protocols are\r
installed.\r
);\r
\r
/**\r
- Trim Len bytes of data from the queue header and release any net buffer\r
- that is trimmed wholely.\r
+ Trim Len bytes of data from the buffer queue and free any net buffer\r
+ that is completely trimmed.\r
\r
The trimming operation is the same as NetbufTrim but applies to the net buffer\r
queue instead of the net buffer.\r
\r
@param[in] IcmpError IcmpError Type.\r
@param[in] IpVersion The version of the IP protocol to use,\r
- either IPv4 or IPv6.\r
- \r
- @param[out] IsHard Whether it is a hard error.\r
- @param[out] Notify Whether it need to notify SockError.\r
+ either IPv4 or IPv6. \r
+ @param[out] IsHard If TRUE, indicates that it is a hard error.\r
+ @param[out] Notify If TRUE, SockError needs to be notified.\r
\r
@return ICMP Error Status, such as EFI_NETWORK_UNREACHABLE.\r
\r
byte stream.\r
\r
@param[in, out] Buf The buffer to put the UINT32.\r
- @param[in] Data The data to put.\r
+ @param[in] Data The data to be converted and put into the byte stream.\r
\r
**/\r
VOID\r
Note: there will be two limitations for current algorithm:\r
1) for UNDI with this capability, in case of cable is not attached, there will\r
be an redundant Stop/Start() process;\r
- 2) for UNDI without this capability, in case cable is attached in UNDI\r
- initialize while unattached latter, NetLibDetectMedia() will report\r
- MediaPresent as TRUE, this cause upper layer apps wait for timeout time.\r
+ 2) for UNDI without this capability, in case that network cable is attached when\r
+ Snp->Initialize() is invoked while network cable is unattached later,\r
+ NetLibDetectMedia() will report MediaPresent as TRUE, causing upper layer\r
+ apps to wait for timeout time.\r
\r
@param[in] ServiceHandle The handle where network service binding protocols are\r
installed on.\r
\r
\r
/**\r
- Trim Len bytes of data from the queue header, release any of the net buffer\r
- whom is trimmed wholely.\r
+ Trim Len bytes of data from the buffer queue and free any net buffer\r
+ that is completely trimmed.\r
\r
The trimming operation is the same as NetbufTrim but applies to the net buffer\r
queue instead of the net buffer.\r