summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormyronporter <myronporter@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-15 17:28:58 +0000
committermyronporter <myronporter@6f19259b-4bc3-4df7-8a09-765794883524>2010-03-15 17:28:58 +0000
commita89fa50ccf7a29405e3d24c49625dbd70cdba9fa (patch)
treeee0ea645df80838a8bd584f5489b06a3699a1b39
parent5a65741f26207b4803f6055ae7a845d213ecb24e (diff)
downloadedk2-a89fa50ccf7a29405e3d24c49625dbd70cdba9fa.zip
edk2-a89fa50ccf7a29405e3d24c49625dbd70cdba9fa.tar.gz
edk2-a89fa50ccf7a29405e3d24c49625dbd70cdba9fa.tar.bz2
Clarify @pram b in Base.h. Accepted and edited in Qing Huang changes for @retval EFI_INVALID_PARAMETER lines. 171 & 321.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10248 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Base.h3
-rw-r--r--MdePkg/Include/Protocol/Udp4.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 5eabb80..5b1f418 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -636,7 +636,8 @@ typedef UINTN *BASE_LIST;
Both a and b must be the same numerical types, signed or unsigned.
@param a The first operand with any numerical type.
- @param b The second operand. It should be the same any numerical type with a.
+ @param b The second operand. Can be any numerical type as long as is
+ the same type as a.
@return Maximum of two operands.
diff --git a/MdePkg/Include/Protocol/Udp4.h b/MdePkg/Include/Protocol/Udp4.h
index f173816..5541f5e 100644
--- a/MdePkg/Include/Protocol/Udp4.h
+++ b/MdePkg/Include/Protocol/Udp4.h
@@ -168,7 +168,8 @@ EFI_STATUS
@retval EFI_SUCCESS The configuration settings were set, changed, or reset successfully.
@retval EFI_NO_MAPPING When using a default address, configuration (DHCP, BOOTP,
RARP, etc.) is not finished yet.
- @retval EFI_INVALID_PARAMETER One or more following conditions are TRUE:
+ @retval EFI_INVALID_PARAMETER This is NULL.
+ @retval EFI_INVALID_PARAMETER UdpConfigData.StationAddress is not a valid unicast IPv4 address.
@retval EFI_ALREADY_STARTED The EFI UDPv4 Protocol instance is already started/configured
and must be stopped/reset before it can be reconfigured.
@retval EFI_ACCESS_DENIED UdpConfigData. AllowDuplicatePort is FALSE
@@ -318,7 +319,8 @@ EFI_STATUS
@retval EFI_NOT_STARTED This EFI UDPv4 Protocol instance has not been started.
@retval EFI_NO_MAPPING When using a default address, configuration (DHCP, BOOTP, RARP, etc.)
is not finished yet.
- @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
+ @retval EFI_INVALID_PARAMETER This is NULL.
+ @retval EFI_INVALID_PARAMETER UdpConfigData.StationAddress is not a valid unicast IPv4 address.
@retval EFI_OUT_OF_RESOURCES The receive completion token could not be queued due to a lack of system
resources (usually memory).
@retval EFI_DEVICE_ERROR An unexpected system or network error occurred.