]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/MemoryAllocationLib.h
Code have been checked with spec
[mirror_edk2.git] / MdePkg / Include / Library / MemoryAllocationLib.h
index 9b8e3aa62be4fe7616267e4c4c90763ccb4f885e..74f7673cd7b02490e4e135e84b2a5976ad4e2e55 100644 (file)
@@ -381,14 +381,13 @@ AllocateReservedCopyPool (
 /**\r
   Reallocates a buffer of type EfiBootServicesData.\r
 \r
-  Allocates and zeros the number bytes specified by NewSize with the memmory type\r
+  Allocates and zeros the number bytes specified by NewSize from memory of type\r
   EfiBootServicesData.  If OldBuffer is not NULL, then the smaller of OldSize and \r
   NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
   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
   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
@@ -411,14 +410,13 @@ ReallocatePool (
 /**\r
   Reallocates a buffer of type EfiRuntimeServicesData.\r
 \r
-  Allocates and zeros the number bytes specified by NewSize with the memmory type\r
+  Allocates and zeros the number bytes specified by NewSize from memory of type\r
   EfiRuntimeServicesData.  If OldBuffer is not NULL, then the smaller of OldSize and \r
   NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
   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
@@ -441,14 +439,13 @@ ReallocateRuntimePool (
 /**\r
   Reallocates a buffer of type EfiReservedMemoryType.\r
 \r
-  Allocates and zeros the number bytes specified by NewSize with the memmory type\r
+  Allocates and zeros the number bytes specified by NewSize from memory of type\r
   EfiReservedMemoryType.  If OldBuffer is not NULL, then the smaller of OldSize and \r
   NewSize bytes are copied from OldBuffer to the newly allocated buffer, and \r
   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