]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add reallocation functions to the UEFI Memory Allocation Library
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Nov 2008 08:32:29 +0000 (08:32 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 24 Nov 2008 08:32:29 +0000 (08:32 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6707 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c

index c94f3a7c20585a6390262f405f4f4663b39ceba5..c4d744c0aee85991ec6680e024defea371cfe5b6 100644 (file)
@@ -653,7 +653,7 @@ AllocateReservedCopyPool (
 /**\r
   Reallocates a buffer of a specified memory type.\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 the type\r
   specified by PoolType.  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
@@ -695,7 +695,7 @@ InternalReallocatePool (
 /**\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
@@ -728,7 +728,7 @@ 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
@@ -761,7 +761,7 @@ 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