summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/UefiMemoryAllocationLib
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2015-03-17 02:58:42 +0000
committershenshushi <shenshushi@Edk2>2015-03-17 02:58:42 +0000
commit4f953ed72109eeb87cbb11bd534c069f31e8b344 (patch)
treeaa8833eedd7795c2eb5b1cb0023353c147fdae97 /MdePkg/Library/UefiMemoryAllocationLib
parent85efb9d860870e1e96c7b344578a79a1a540d5e8 (diff)
downloadedk2-4f953ed72109eeb87cbb11bd534c069f31e8b344.tar.gz
edk2-4f953ed72109eeb87cbb11bd534c069f31e8b344.tar.bz2
edk2-4f953ed72109eeb87cbb11bd534c069f31e8b344.zip
MdePkg:Fix typo 'caculate' in MdePkg.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Bruce Cran <bruce.cran@gmail.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17057 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiMemoryAllocationLib')
-rw-r--r--MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
index f1eaccc8dc..3da5e21113 100644
--- a/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
+++ b/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c
@@ -2,7 +2,7 @@
Support routines for memory allocation routines based
on boot services for Dxe phase drivers.
- Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -194,7 +194,7 @@ InternalAllocateAlignedPages (
}
if (Alignment > EFI_PAGE_SIZE) {
//
- // Caculate the total number of pages since alignment is larger than page size.
+ // Calculate the total number of pages since alignment is larger than page size.
//
AlignmentMask = Alignment - 1;
RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);