]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLib/MemLibInternals.h
Comments have been checked with spec
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLib / MemLibInternals.h
index 2f9c194d77fc394c6c2a02efd96d4b945ef74bba..fec91f270f97492ecdd7f507b52dfda67ccc13f4 100644 (file)
@@ -35,8 +35,8 @@
   Copy Length bytes from Source to Destination.\r
 \r
   @param  DestinationBuffer Target of copy\r
-  @param  SourceBuffer Place to copy from\r
-  @param  Length Number of bytes to copy\r
+  @param  SourceBuffer      Place to copy from\r
+  @param  Length            Number of bytes to copy\r
 \r
   @return Destination\r
 \r
@@ -52,9 +52,9 @@ InternalMemCopyMem (
 /**\r
   Set Buffer to Value for Size bytes.\r
 \r
-  @param  Buffer Memory to set.\r
-  @param  Length Number of bytes to set\r
-  @param  Value Value of the set operation.\r
+  @param  Buffer   Memory to set.\r
+  @param  Length   Number of bytes to set\r
+  @param  Value    Value of the set operation.\r
 \r
   @return Buffer\r
 \r
@@ -62,7 +62,7 @@ InternalMemCopyMem (
 VOID *\r
 EFIAPI\r
 InternalMemSetMem (\r
-  OUT     VOID                      *Buffer,\r
+  IN      VOID                      *Buffer,\r
   IN      UINTN                     Length,\r
   IN      UINT8                     Value\r
   );\r
@@ -145,7 +145,9 @@ InternalMemZeroMem (
   @param  Length            Length of DestinationBuffer and SourceBuffer memory\r
                             regions to compare. Must be non-zero.\r
 \r
-  @retval 0     if MemOne == MemTwo\r
+  @return 0                 All Length bytes of the two buffers are identical.\r
+  @retval Non-zero          The first mismatched byte in SourceBuffer subtracted from the first\r
+                            mismatched byte in DestinationBuffer.\r
 \r
 **/\r
 INTN\r