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