summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-24 08:32:29 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-24 08:32:29 +0000
commit0a559bb9b2a6d2834f13a5eefd02289d9e10f2c1 (patch)
treefd03f650e935e71eb1d3e670b3c48c0cde30d206 /MdePkg
parent3b6a71fcd405ecc809712197d080777fb860ae39 (diff)
downloadedk2-platforms-0a559bb9b2a6d2834f13a5eefd02289d9e10f2c1.tar.xz
Add reallocation functions to the UEFI Memory Allocation Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6707 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
index c94f3a7c20..c4d744c0ae 100644
--- a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
+++ b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
@@ -653,7 +653,7 @@ AllocateReservedCopyPool (
/**
Reallocates a buffer of a specified memory type.
- Allocates and zeros the number bytes specified by NewSize with the memmory type
+ Allocates and zeros the number bytes specified by NewSize from memory of the type
specified by PoolType. If OldBuffer is not NULL, then the smaller of OldSize and
NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
OldBuffer is freed. A pointer to the newly allocated buffer is returned.
@@ -695,7 +695,7 @@ InternalReallocatePool (
/**
Reallocates a buffer of type EfiBootServicesData.
- Allocates and zeros the number bytes specified by NewSize with the memmory type
+ Allocates and zeros the number bytes specified by NewSize from memory of type
EfiBootServicesData. If OldBuffer is not NULL, then the smaller of OldSize and
NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
OldBuffer is freed. A pointer to the newly allocated buffer is returned.
@@ -728,7 +728,7 @@ ReallocatePool (
/**
Reallocates a buffer of type EfiRuntimeServicesData.
- Allocates and zeros the number bytes specified by NewSize with the memmory type
+ Allocates and zeros the number bytes specified by NewSize from memory of type
EfiRuntimeServicesData. If OldBuffer is not NULL, then the smaller of OldSize and
NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
OldBuffer is freed. A pointer to the newly allocated buffer is returned.
@@ -761,7 +761,7 @@ ReallocateRuntimePool (
/**
Reallocates a buffer of type EfiReservedMemoryType.
- Allocates and zeros the number bytes specified by NewSize with the memmory type
+ Allocates and zeros the number bytes specified by NewSize from memory of type
EfiReservedMemoryType. If OldBuffer is not NULL, then the smaller of OldSize and
NewSize bytes are copied from OldBuffer to the newly allocated buffer, and
OldBuffer is freed. A pointer to the newly allocated buffer is returned.