]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseMemoryLib/SetMem.c
Update copyright for files modified in this year
[mirror_edk2.git] / MdePkg / Library / BaseMemoryLib / SetMem.c
index a4f783fde62d92a82257252c3a7427b001d2ff00..546e6655122529a49aad091914ef3b0fd1e54450 100644 (file)
@@ -4,7 +4,7 @@
   build for a particular platform easily if an optimized version\r
   is desired.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -23,9 +23,9 @@
 /**\r
   Set Buffer to Value for Size bytes.\r
 \r
-  @param  Buffer Memory to set.\r
-  @param  Size 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
@@ -34,7 +34,7 @@ VOID *
 EFIAPI\r
 InternalMemSetMem (\r
   IN      VOID                      *Buffer,\r
-  IN      UINTN                     Size,\r
+  IN      UINTN                     Length,\r
   IN      UINT8                     Value\r
   )\r
 {\r
@@ -46,7 +46,7 @@ InternalMemSetMem (
   volatile UINT8                    *Pointer;\r
 \r
   Pointer = (UINT8*)Buffer;\r
-  while (Size-- != 0) {\r
+  while (Length-- != 0) {\r
     *(Pointer++) = Value;\r
   }\r
   return Buffer;\r