]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibSse2/SetMemWrapper.c
remove unnecessary comments introduced by tools from MdePkg. The regular express...
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibSse2 / SetMemWrapper.c
index d0e8760ff62337f5e63fc6c3a80623a5db17cbb1..7ef3298a9bd7a8bcc83da5f0d14f2cd321cac4af 100644 (file)
@@ -10,8 +10,6 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
-  Module Name:  SetMemWrapper.c\r
-\r
   The following BaseMemoryLib instances share the same version of this file:\r
 \r
     BaseMemoryLib\r
   The following BaseMemoryLib instances share the same version of this file:\r
 \r
     BaseMemoryLib\r
     BaseMemoryLibSse2\r
     BaseMemoryLibRepStr\r
     PeiMemoryLib\r
     BaseMemoryLibSse2\r
     BaseMemoryLibRepStr\r
     PeiMemoryLib\r
-    UefiMemoryLib\r
+    DxeMemoryLib\r
 \r
 **/\r
 \r
 \r
 **/\r
 \r
+\r
+\r
+\r
 #include "MemLibInternals.h"\r
 \r
 /**\r
   Fills a target buffer with a byte value, and returns the target buffer.\r
 \r
   This function fills Length bytes of Buffer with Value, and returns Buffer.\r
 #include "MemLibInternals.h"\r
 \r
 /**\r
   Fills a target buffer with a byte value, and returns the target buffer.\r
 \r
   This function fills Length bytes of Buffer with Value, and returns Buffer.\r
-  If Length is greater than (MAX_ADDRESS \96 Buffer + 1), then ASSERT(). \r
+  If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
   @param  Buffer    Memory to set.\r
 \r
   @param  Buffer    Memory to set.\r
-  @param  Length    Number of bytes to set\r
+  @param  Length    Number of bytes to set.\r
   @param  Value     Value of the set operation.\r
 \r
   @return Buffer.\r
   @param  Value     Value of the set operation.\r
 \r
   @return Buffer.\r
 VOID *\r
 EFIAPI\r
 SetMem (\r
 VOID *\r
 EFIAPI\r
 SetMem (\r
-  IN      VOID                      *Buffer,\r
-  IN      UINTN                     Length,\r
-  IN      UINT8                     Value\r
+  OUT VOID  *Buffer,\r
+  IN UINTN  Length,\r
+  IN UINT8  Value\r
   )\r
 {\r
   )\r
 {\r
-  if (Length == 0) {\r
+  if (0 == Length) {\r
     return Buffer;\r
   }\r
 \r
     return Buffer;\r
   }\r
 \r