From 2a254b9046b5f33d0495a3e28deaff48cc64a76e Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 22 Apr 2008 05:16:14 +0000 Subject: Fix typo in comment. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5108 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Library/BaseLib.h | 8 ++++---- MdePkg/Include/Library/PcdLib.h | 28 +++++++++++++++------------- MdePkg/Include/Library/ReportStatusCodeLib.h | 2 ++ 3 files changed, 21 insertions(+), 17 deletions(-) (limited to 'MdePkg/Include/Library') diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index d7c96a1a62..ae14cc72ea 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -632,7 +632,7 @@ StrHexToUint64 ( @param Source Pointer to a Null-terminated Unicode string. @param Destination Pointer to a Null-terminated ASCII string. - @reture Destination + @return Destination **/ CHAR8 * @@ -1802,7 +1802,7 @@ GetPowerOfTwo64 ( from little endian to big endian or vice versa. The byte swapped value is returned. - @param Operand A 16-bit unsigned value. + @param Value Operand A 16-bit unsigned value. @return The byte swaped Operand. @@ -1821,7 +1821,7 @@ SwapBytes16 ( from little endian to big endian or vice versa. The byte swapped value is returned. - @param Operand A 32-bit unsigned value. + @param Value Operand A 32-bit unsigned value. @return The byte swaped Operand. @@ -1840,7 +1840,7 @@ SwapBytes32 ( from little endian to big endian or vice versa. The byte swapped value is returned. - @param Operand A 64-bit unsigned value. + @param Value Operand A 64-bit unsigned value. @return The byte swaped Operand. diff --git a/MdePkg/Include/Library/PcdLib.h b/MdePkg/Include/Library/PcdLib.h index 2b9c76796b..8db9a0270a 100644 --- a/MdePkg/Include/Library/PcdLib.h +++ b/MdePkg/Include/Library/PcdLib.h @@ -15,6 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef __PCD_LIB_H__ #define __PCD_LIB_H__ +#include + #define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0) #define PcdToken(TokenName) _PCD_TOKEN_##TokenName @@ -126,7 +128,7 @@ LibPcdSetSku ( /** Returns the 8-bit value for the token specified by TokenNumber. - @param[in] The PCD token number to retrieve a current value for. + @param[in] TokenNumber The PCD token number to retrieve a current value for. @retval UINT8 Returns the 8-bit value for the token specified by TokenNumber. @@ -141,7 +143,7 @@ LibPcdGet8 ( /** Returns the 16-bit value for the token specified by TokenNumber. - @param[in] The PCD token number to retrieve a current value for. + @param[in] TokenNumber The PCD token number to retrieve a current value for. @retval UINT16 Returns the 16-bit value for the token specified by TokenNumber. @@ -446,9 +448,9 @@ LibPcdSet64 ( If SizeOfValue is NULL, then ASSERT(). If SizeOfValue > 0 and Buffer is NULL, then ASSERT(). - @param[in] TokenNumber The PCD token number to set a current value for. - @param[in,out] SizeOfBuffer The size, in bytes, of Buffer. - @param[in] Value A pointer to the buffer to set. + @param[in] TokenNumber The PCD token number to set a current value for. + @param[in,out] SizeOfBuffer The size, in bytes, of Buffer. + @param[in] Buffer Value A pointer to the buffer to set. @retval VOID* Return the pointer for the buffer been set. @@ -634,10 +636,10 @@ LibPcdSetExBool ( modify the internal data in PCD database. - @param[in] CallBackGuid The PCD token GUID being set. - @param[in] CallBackToken The PCD token number being set. - @param[in, out] TokenData A pointer to the token data being set. - @param[in] TokenDataSize The size, in bytes, of the data being set. + @param[in] CallBackGuid The PCD token GUID being set. + @param[in] CallBackToken The PCD token number being set. + @param[in, out] TokenData A pointer to the token data being set. + @param[in] TokenDataSize The size, in bytes, of the data being set. @retval VOID @@ -704,10 +706,10 @@ LibPcdCancelCallback ( token number in the token space, then 0 is returned. If TokenNumber is not 0 and is not in the token space specified by Guid, then ASSERT(). - @param[in] Pointer to a 128-bit unique value that designates which namespace - to set a value from. If NULL, then the default token space is used. - @param[in] The previous PCD token number. If 0, then retrieves the first PCD - token number. + @param[in] Guid Pointer to a 128-bit unique value that designates which namespace + to set a value from. If NULL, then the default token space is used. + @param[in] TokenNumber The previous PCD token number. If 0, then retrieves the first PCD + token number. @retval UINTN The next valid token number. diff --git a/MdePkg/Include/Library/ReportStatusCodeLib.h b/MdePkg/Include/Library/ReportStatusCodeLib.h index 2dfa8f839b..b07b4adaa9 100644 --- a/MdePkg/Include/Library/ReportStatusCodeLib.h +++ b/MdePkg/Include/Library/ReportStatusCodeLib.h @@ -15,6 +15,8 @@ #ifndef __REPORT_STATUS_CODE_LIB_H__ #define __REPORT_STATUS_CODE_LIB_H__ +#include +#include #include // -- cgit v1.2.3