]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLibRepStr/SetMemWrapper.c
Code scrub:
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLibRepStr / SetMemWrapper.c
index c73168841bb9989e166237530144f12f0b698d20..0e3428cd7a88d740cf514a20bf8c06dca89592a5 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
-  Module Name:  SetMemWrapper.c\r
-\r
   The following BaseMemoryLib instances share the same version of this file:\r
 \r
     BaseMemoryLib\r
 \r
 **/\r
 \r
+//\r
+// Include common header file for this module.\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
-  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
   @param  Length    Number of bytes to set.\r
@@ -46,7 +49,7 @@ SetMem (
   IN UINT8  Value\r
   )\r
 {\r
-  if (Length == 0) {\r
+  if (0 == Length) {\r
     return Buffer;\r
   }\r
 \r