summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseMemoryLib/MemLibInternals.h
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-21 06:52:21 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-21 06:52:21 +0000
commitd531bfee01a957038d7ac1a16748558a62165fb2 (patch)
tree173c73fa2b6fc324192bb5021e0598113f6a2135 /MdePkg/Library/BaseMemoryLib/MemLibInternals.h
parent6c7a807a54b14827a6510baa5edfdbe8b5f1f085 (diff)
downloadedk2-platforms-d531bfee01a957038d7ac1a16748558a62165fb2.tar.xz
CodeReview for MdePkg/BaseMemoryXXX libraries. Refine file description, function comments and move some redundant logic.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6167 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLib/MemLibInternals.h')
-rw-r--r--MdePkg/Library/BaseMemoryLib/MemLibInternals.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/MdePkg/Library/BaseMemoryLib/MemLibInternals.h b/MdePkg/Library/BaseMemoryLib/MemLibInternals.h
index 2f9c194d77..6781fe844e 100644
--- a/MdePkg/Library/BaseMemoryLib/MemLibInternals.h
+++ b/MdePkg/Library/BaseMemoryLib/MemLibInternals.h
@@ -35,8 +35,8 @@
Copy Length bytes from Source to Destination.
@param DestinationBuffer Target of copy
- @param SourceBuffer Place to copy from
- @param Length Number of bytes to copy
+ @param SourceBuffer Place to copy from
+ @param Length Number of bytes to copy
@return Destination
@@ -52,9 +52,9 @@ InternalMemCopyMem (
/**
Set Buffer to Value for Size bytes.
- @param Buffer Memory to set.
- @param Length Number of bytes to set
- @param Value Value of the set operation.
+ @param Buffer Memory to set.
+ @param Length Number of bytes to set
+ @param Value Value of the set operation.
@return Buffer
@@ -145,7 +145,9 @@ InternalMemZeroMem (
@param Length Length of DestinationBuffer and SourceBuffer memory
regions to compare. Must be non-zero.
- @retval 0 if MemOne == MemTwo
+ @return 0 All Length bytes of the two buffers are identical.
+ @retval Non-zero The first mismatched byte in SourceBuffer subtracted from the first
+ mismatched byte in DestinationBuffer.
**/
INTN