summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/SmmMemoryAllocationLib
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/SmmMemoryAllocationLib
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/SmmMemoryAllocationLib')
-rw-r--r--MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
index 49d7a57a02..ab27ac6583 100644
--- a/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
+++ b/MdePkg/Library/SmmMemoryAllocationLib/MemoryAllocationLib.c
@@ -11,7 +11,7 @@
In addition, allocation for the Reserved memory types are not supported and
will always return NULL.
- 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
@@ -320,7 +320,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);