]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/BaseLib.h
Synchronize function comment in MdePkg\Library\BaseLib.h with the instance of this...
[mirror_edk2.git] / MdePkg / Include / Library / BaseLib.h
index 76c8481d34966241257c312d511797038b960b5a..3d9aaaf8226c4d8de62fe5aee0b2a5332446e27d 100644 (file)
@@ -148,7 +148,7 @@ typedef struct {
   @param  Destination Pointer to a Null-terminated Unicode string.\r
   @param  Source      Pointer to a Null-terminated Unicode string.\r
 \r
-  @return Destiantion\r
+  @return Destination.\r
 \r
 **/\r
 CHAR16 *\r
@@ -184,7 +184,7 @@ StrCpy (
   @param  Source      Pointer to a Null-terminated Unicode string.\r
   @param  Length      Maximum number of Unicode characters to copy.\r
 \r
-  @return Destination\r
+  @return Destination.\r
 \r
 **/\r
 CHAR16 *\r
@@ -349,7 +349,7 @@ StrnCmp (
   @param  Destination Pointer to a Null-terminated Unicode string.\r
   @param  Source      Pointer to a Null-terminated Unicode string.\r
 \r
-  @return Destination\r
+  @return Destination.\r
 \r
 **/\r
 CHAR16 *\r
@@ -394,7 +394,7 @@ StrCat (
   @param  Length      Maximum number of Unicode characters to concatenate from\r
                       Source.\r
 \r
-  @return Destination\r
+  @return Destination.\r
 \r
 **/\r
 CHAR16 *\r
@@ -406,7 +406,7 @@ StrnCat (
   );\r
 \r
 /**\r
-  Returns the first occurance of a Null-terminated Unicode sub-string\r
+  Returns the first occurrence of a Null-terminated Unicode sub-string\r
   in a Null-terminated Unicode string.\r
 \r
   This function scans the contents of the Null-terminated Unicode string\r
@@ -634,7 +634,7 @@ NibbleToHexChar (
   the last character in the output string. The one next to first byte will be put into the\r
   character before the last character. This rules applies to the rest of the bytes. The Unicode\r
   character by the last byte will be put into the first character in the output string. For example,\r
-  the input buffer for a 64-bits unsigned integrer 0x12345678abcdef1234 will be converted to\r
+  the input buffer for a 64-bits unsigned integer 0x12345678abcdef1234 will be converted to\r
   a Unicode string equal to L"12345678abcdef1234".\r
 \r
   @param String                        On input, String is pointed to the buffer allocated for the convertion.\r
@@ -642,10 +642,10 @@ NibbleToHexChar (
                                        The StringLen required to convert a N bytes Buffer will be a least equal to or greater \r
                                        than 2*N + 1.\r
   @param Buffer                        The pointer to a input buffer.\r
-  @param BufferSizeInBytes             Lenth in bytes of the input buffer.\r
+  @param BufferSizeInBytes             Length in bytes of the input buffer.\r
   \r
 \r
-  @retval  EFI_SUCCESS                 The convertion is successfull. All bytes in Buffer has been convert to the corresponding\r
+  @retval  EFI_SUCCESS                 The convertion is successful. All bytes in Buffer has been convert to the corresponding\r
                                        Unicode character and placed into the right place in String.\r
   @retval  EFI_BUFFER_TOO_SMALL        StringSizeInBytes is smaller than 2 * N + 1the number of bytes required to\r
                                        complete the convertion. \r
@@ -758,7 +758,7 @@ IsHexDigit (
   @param  Source        Pointer to a Null-terminated Unicode string.\r
   @param  Destination   Pointer to a Null-terminated ASCII string.\r
 \r
-  @return Destination\r
+  @return Destination.\r
 \r
 **/\r
 CHAR8 *\r
@@ -1067,7 +1067,7 @@ AsciiStrnCat (
 \r
 \r
 /**\r
-  Returns the first occurance of a Null-terminated ASCII sub-string\r
+  Returns the first occurrence of a Null-terminated ASCII sub-string\r
   in a Null-terminated ASCII string.\r
 \r
   This function scans the contents of the ASCII string specified by String\r
@@ -1087,7 +1087,7 @@ AsciiStrnCat (
 \r
   @retval NULL            If the SearchString does not appear in String.\r
   @retval others          If there is a match return the first occurrence of SearchingString.\r
-                          If the lenth of SearchString is zero,return String.\r
+                          If the length of SearchString is zero,return String.\r
 \r
 **/\r
 CHAR8 *\r
@@ -1278,7 +1278,7 @@ AsciiStrHexToUint64 (
   @param  Source        Pointer to a Null-terminated ASCII string.\r
   @param  Destination   Pointer to a Null-terminated Unicode string.\r
 \r
-  @return Destination\r
+  @return Destination.\r
 \r
 **/\r
 CHAR16 *\r
@@ -1299,7 +1299,7 @@ AsciiStrToUnicodeStr (
 \r
   @param  Value The 8-bit value to convert to BCD. Range 0..99.\r
 \r
-  @return The BCD value\r
+  @return The BCD value.\r
 \r
 **/\r
 UINT8\r
@@ -1603,7 +1603,7 @@ IsNodeAtEnd (
   @param  FirstEntry  A pointer to a node in a linked list.\r
   @param  SecondEntry A pointer to another node in the same linked list.\r
   \r
-  @return SecondEntry\r
+  @return SecondEntry.\r
 \r
 **/\r
 LIST_ENTRY *\r
@@ -1630,9 +1630,9 @@ SwapListEntries (
   linked list containing Entry, including the Entry node, is greater than\r
   or equal to PcdMaximumLinkedListLength, then ASSERT().\r
 \r
-  @param  Entry A pointer to a node in a linked list\r
+  @param  Entry A pointer to a node in a linked list.\r
 \r
-  @return Entry\r
+  @return Entry.\r
 \r
 **/\r
 LIST_ENTRY *\r
@@ -1657,7 +1657,7 @@ RemoveEntryList (
   @param  Operand The 64-bit operand to shift left.\r
   @param  Count   The number of bits to shift left.\r
 \r
-  @return Operand << Count\r
+  @return Operand << Count.\r
 \r
 **/\r
 UINT64\r
@@ -1819,7 +1819,7 @@ RRotU64 (
 \r
   @param  Operand The 32-bit operand to evaluate.\r
 \r
-  @retval 0-31  The lowest bit set in Operand was found.\r
+  @retval 0..31  The lowest bit set in Operand was found.\r
   @retval -1    Operand is zero.\r
 \r
 **/\r
@@ -1839,7 +1839,7 @@ LowBitSet32 (
 \r
   @param  Operand The 64-bit operand to evaluate.\r
 \r
-  @retval 0-63  The lowest bit set in Operand was found.\r
+  @retval 0..63  The lowest bit set in Operand was found.\r
   @retval -1    Operand is zero.\r
 \r
 \r
@@ -1861,7 +1861,7 @@ LowBitSet64 (
 \r
   @param  Operand The 32-bit operand to evaluate.\r
 \r
-  @retval 0-31  Position of the highest bit set in Operand if found.\r
+  @retval 0..31  Position of the highest bit set in Operand if found.\r
   @retval -1    Operand is zero.\r
 \r
 **/\r
@@ -1882,7 +1882,7 @@ HighBitSet32 (
 \r
   @param  Operand The 64-bit operand to evaluate.\r
 \r
-  @retval 0-63   Position of the highest bit set in Operand if found.\r
+  @retval 0..63   Position of the highest bit set in Operand if found.\r
   @retval -1     Operand is zero.\r
 \r
 **/\r
@@ -2175,7 +2175,7 @@ DivU64x64Remainder (
   NULL, then the 64-bit signed remainder is returned in Remainder. This\r
   function returns the 64-bit signed quotient.\r
 \r
-  It is the caller¡¯s responsibility to not call this function with a Divisor of 0.\r
+  It is the caller's responsibility to not call this function with a Divisor of 0.\r
   If Divisor is 0, then the quotient and remainder should be assumed to be \r
   the largest negative integer.\r
 \r
@@ -3089,7 +3089,7 @@ InitializeSpinLock (
 \r
   @param  SpinLock  A pointer to the spin lock to place in the acquired state.\r
 \r
-  @return SpinLock accquired lock.\r
+  @return SpinLock acquired lock.\r
 \r
 **/\r
 SPIN_LOCK *\r