diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-21 06:52:21 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-21 06:52:21 +0000 |
commit | d531bfee01a957038d7ac1a16748558a62165fb2 (patch) | |
tree | 173c73fa2b6fc324192bb5021e0598113f6a2135 /MdePkg/Library/DxeMemoryLib | |
parent | 6c7a807a54b14827a6510baa5edfdbe8b5f1f085 (diff) | |
download | edk2-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/DxeMemoryLib')
-rw-r--r-- | MdePkg/Library/DxeMemoryLib/MemLibGeneric.c | 4 | ||||
-rw-r--r-- | MdePkg/Library/DxeMemoryLib/MemLibInternals.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/MdePkg/Library/DxeMemoryLib/MemLibGeneric.c b/MdePkg/Library/DxeMemoryLib/MemLibGeneric.c index a1a7c3695a..3ae0387883 100644 --- a/MdePkg/Library/DxeMemoryLib/MemLibGeneric.c +++ b/MdePkg/Library/DxeMemoryLib/MemLibGeneric.c @@ -119,7 +119,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
diff --git a/MdePkg/Library/DxeMemoryLib/MemLibInternals.h b/MdePkg/Library/DxeMemoryLib/MemLibInternals.h index 76cebeda76..27c3c71851 100644 --- a/MdePkg/Library/DxeMemoryLib/MemLibInternals.h +++ b/MdePkg/Library/DxeMemoryLib/MemLibInternals.h @@ -149,7 +149,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
|