summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.