From a89fa50ccf7a29405e3d24c49625dbd70cdba9fa Mon Sep 17 00:00:00 2001 From: myronporter Date: Mon, 15 Mar 2010 17:28:58 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Base.h | 3 ++- MdePkg/Include/Protocol/Udp4.h | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 5eabb80eff..5b1f418d1a 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 f173816327..5541f5e692 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. -- 2.39.2