diff options
author | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-26 06:57:44 +0000 |
---|---|---|
committer | gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-26 06:57:44 +0000 |
commit | 9638ba6d3f663ba64cb06193f22bc5c70356da64 (patch) | |
tree | ae67cc0a06f2792b3f0c4adf5bbb1b1fb4b9f662 /MdePkg/Library/UefiMemoryAllocationLib | |
parent | 122e21915101b8f38d81edc6d4f1fd1dd353e28a (diff) | |
download | edk2-platforms-9638ba6d3f663ba64cb06193f22bc5c70356da64.tar.xz |
Synchronize function comment in h file
with c file instance of this functions in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6732 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiMemoryAllocationLib')
-rw-r--r-- | MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c index c4d744c0ae..d893939992 100644 --- a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c +++ b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c @@ -577,6 +577,7 @@ InternalAllocateCopyPool ( AllocationSize bytes from Buffer to the newly allocated buffer, and returns a pointer to the
allocated buffer. If AllocationSize is 0, then a valid buffer of 0 size is returned. If there
is not enough memory remaining to satisfy the request, then NULL is returned.
+
If Buffer is NULL, then ASSERT().
If AllocationSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|