]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Comments have been checked with spec
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Dec 2008 09:25:16 +0000 (09:25 +0000)
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 5 Dec 2008 09:25:16 +0000 (09:25 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6873 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/MemoryAllocationLib.h
MdePkg/Library/PeiMemoryAllocationLib/MemoryAllocationLib.c
MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c

index f9c791eedf9f358c540cbe0a65c40b8ea43a6e9a..74f7673cd7b02490e4e135e84b2a5976ad4e2e55 100644 (file)
@@ -388,7 +388,6 @@ AllocateReservedCopyPool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
   \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -417,8 +416,7 @@ ReallocatePool (
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
-  \r
-  If OldBuffer is NULL, then ASSERT().\r
+\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -447,8 +445,7 @@ ReallocateRuntimePool (
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
-  \r
-  If OldBuffer is NULL, then ASSERT().\r
+\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
index 01279f392ffae5a86d42c10b4296fe86296c157a..b57197b9a3469c3bab2441fabb4fc2c3e8bc0ae0 100644 (file)
@@ -685,7 +685,6 @@ InternalReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
   \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -718,7 +717,6 @@ ReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -750,8 +748,7 @@ ReallocateRuntimePool (
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
-  \r
-  If OldBuffer is NULL, then ASSERT().\r
+\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
index cf9fdc8ae1457e54cb6597c47700ebef00287366..04984d0165dab244e8e387a0221a78656caa302a 100644 (file)
@@ -702,7 +702,6 @@ InternalReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
   \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -735,7 +734,6 @@ ReallocatePool (
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
 \r
-  If OldBuffer is NULL, then ASSERT().\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r
@@ -767,8 +765,7 @@ ReallocateRuntimePool (
   OldBuffer is freed.  A pointer to the newly allocated buffer is returned.  \r
   If NewSize is 0, then a valid buffer of 0 size is  returned.  If there is not \r
   enough memory remaining to satisfy the request, then NULL is returned.\r
-  \r
-  If OldBuffer is NULL, then ASSERT().\r
+\r
   If NewSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
   If OldSize is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). \r
 \r