summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeiMemoryLib
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-14 09:01:34 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-14 09:01:34 +0000
commitf80b0830db453419ac5ad2b3f12a8b7c2bbdc29a (patch)
tree2937d148454e21adf29de0090e13b2fe9838711b /MdePkg/Library/PeiMemoryLib
parent6aab82140b20fab408f79dd428555b5d03370f72 (diff)
downloadedk2-f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a.tar.gz
edk2-f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a.tar.bz2
edk2-f80b0830db453419ac5ad2b3f12a8b7c2bbdc29a.zip
Code scrub:
MdePkg/Library/BaseCacheMaintenanceLib MdePkg/Library/BaseDebugLibNull MdePkg/Library/BaseIoLibIntrinsic MdePkg/Library/BaseLib MdePkg/Library/BasePeCoffLib MdePkg/Library/CpuLib MdePkg/Library/DxeMemoryLib MdePkg/Library/DxePiLib MdePkg/Library/PeiIoLib MdePkg/Library/PeiMemoryLib MdePkg/Library/UefiBootServicesTableLib MdePkg/Library/UefiLib MdePkg/Library/UefiRuntimeLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5464 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiMemoryLib')
-rw-r--r--MdePkg/Library/PeiMemoryLib/MemLib.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/MdePkg/Library/PeiMemoryLib/MemLib.c b/MdePkg/Library/PeiMemoryLib/MemLib.c
index ddb8b445bc..207f580d45 100644
--- a/MdePkg/Library/PeiMemoryLib/MemLib.c
+++ b/MdePkg/Library/PeiMemoryLib/MemLib.c
@@ -14,6 +14,18 @@
#include "MemLibInternals.h"
+/**
+ Copies a source buffer to a destination buffer, and returns the destination buffer.
+
+ This function wraps the gPS->CopyMem ().
+
+ @param DestinationBuffer Pointer to the destination buffer of the memory copy.
+ @param SourceBuffer Pointer to the source buffer of the memory copy.
+ @param Length Number of bytes to copy from SourceBuffer to DestinationBuffer.
+
+ @return DestinationBuffer.
+
+**/
VOID *
EFIAPI
InternalMemCopyMem (
@@ -30,6 +42,18 @@ InternalMemCopyMem (
return Destination;
}
+/**
+ Fills a target buffer with a byte value, and returns the target buffer.
+
+ This function wraps the gPS->SetMem ().
+
+ @param Buffer Memory to set.
+ @param Length Number of bytes to set.
+ @param Value Value of the set operation.
+
+ @return Buffer.
+
+**/
VOID *
EFIAPI
InternalMemSetMem (