]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiMemoryLib/MemLibInternals.h
clean up all of eight BaseMemoryLib instances in MdePkg with the following updates:
[mirror_edk2.git] / MdePkg / Library / PeiMemoryLib / MemLibInternals.h
index 11d846801a46ea7b3ba87d20ca24fc6b01e15872..fe20e39a539830242611894d08a3cee81a097242 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declaration of internal functions for Base Memory Library.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2009, 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
   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 following BaseMemoryLib instances contain the same copy of this file:\r
-\r
-    BaseMemoryLib\r
-    BaseMemoryLibMmx\r
-    BaseMemoryLibSse2\r
-    BaseMemoryLibRepStr\r
-    BaseMemoryLibOptDxe\r
-    BaseMemoryLibOptPei\r
-    PeiMemoryLib\r
-    DxeMemoryLib\r
-\r
 **/\r
 \r
 #ifndef __MEM_LIB_INTERNALS__\r
 #define __MEM_LIB_INTERNALS__\r
 \r
-\r
 #include <PiPei.h>\r
 \r
 #include <Library/BaseMemoryLib.h>\r
@@ -37,7 +25,7 @@
 /**\r
   Copies a source buffer to a destination buffer, and returns the destination buffer.\r
 \r
-  This function wraps the gPS->CopyMem ().\r
+  This function wraps the (*PeiServices)->CopyMem ().\r
   \r
   @param  DestinationBuffer   Pointer to the destination buffer of the memory copy.\r
   @param  SourceBuffer        Pointer to the source buffer of the memory copy.\r
@@ -57,10 +45,10 @@ InternalMemCopyMem (
 /**\r
   Fills a target buffer with a byte value, and returns the target buffer.\r
 \r
-  This function wraps the gPS->SetMem ().\r
+  This function wraps the (*PeiServices)->SetMem ().\r
   \r
   @param  Buffer    Memory to set.\r
-  @param  Size    Number of bytes to set.\r
+  @param  Size      Number of bytes to set.\r
   @param  Value     Value of the set operation.\r
 \r
   @return Buffer.\r
@@ -78,7 +66,7 @@ InternalMemSetMem (
   Fills a target buffer with a 16-bit value, and returns the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to fill.\r
-  @param  Length  Number of bytes in Buffer to fill.\r
+  @param  Length  Count of 16-bit value to fill.\r
   @param  Value   Value with which to fill Length bytes of Buffer.\r
 \r
   @return Buffer\r
@@ -96,7 +84,7 @@ InternalMemSetMem16 (
   Fills a target buffer with a 32-bit value, and returns the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to fill.\r
-  @param  Length  Number of bytes in Buffer to fill.\r
+  @param  Length  Count of 32-bit value to fill.\r
   @param  Value   Value with which to fill Length bytes of Buffer.\r
 \r
   @return Buffer\r
@@ -114,7 +102,7 @@ InternalMemSetMem32 (
   Fills a target buffer with a 64-bit value, and returns the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to fill.\r
-  @param  Length  Number of bytes in Buffer to fill.\r
+  @param  Length  Count of 64-bit value to fill.\r
   @param  Value   Value with which to fill Length bytes of Buffer.\r
 \r
   @return Buffer\r
@@ -170,7 +158,7 @@ InternalMemCompareMem (
   matching 8-bit value in the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to scan.\r
-  @param  Length  Number of bytes in Buffer to scan. Must be non-zero.\r
+  @param  Length  Count of 8-bit value to scan. Must be non-zero.\r
   @param  Value   Value to search for in the target buffer.\r
 \r
   @return Pointer to the first occurrence or NULL if not found.\r
@@ -189,7 +177,7 @@ InternalMemScanMem8 (
   matching 16-bit value in the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to scan.\r
-  @param  Length  Number of bytes in Buffer to scan. Must be non-zero.\r
+  @param  Length  Count of 16-bit value to scan. Must be non-zero.\r
   @param  Value   Value to search for in the target buffer.\r
 \r
   @return Pointer to the first occurrence or NULL if not found.\r
@@ -208,7 +196,7 @@ InternalMemScanMem16 (
   matching 32-bit value in the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to scan.\r
-  @param  Length  Number of bytes in Buffer to scan. Must be non-zero.\r
+  @param  Length  Count of 32-bit value to scan. Must be non-zero.\r
   @param  Value   Value to search for in the target buffer.\r
 \r
   @return Pointer to the first occurrence or NULL if not found.\r
@@ -227,7 +215,7 @@ InternalMemScanMem32 (
   matching 64-bit value in the target buffer.\r
 \r
   @param  Buffer  Pointer to the target buffer to scan.\r
-  @param  Length  Number of bytes in Buffer to scan. Must be non-zero.\r
+  @param  Length  Count of 64-bit value to scan. Must be non-zero.\r
   @param  Value   Value to search for in the target buffer.\r
 \r
   @return Pointer to the first occurrence or NULL if not found.\r