summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib
diff options
context:
space:
mode:
authorShumin Qiu <shumin.qiu@intel.com>2015-03-13 08:13:16 +0000
committershenshushi <shenshushi@Edk2>2015-03-13 08:13:16 +0000
commite50a226b2ff490d33fe2f35aa52f5902f7fa91b0 (patch)
treedeb13fcc61623aa43bacfe1be9ee78e0bb91eb31 /MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib
parent207f04793e69843ec34078b2f082a0e4660a433a (diff)
downloadedk2-e50a226b2ff490d33fe2f35aa52f5902f7fa91b0.tar.gz
edk2-e50a226b2ff490d33fe2f35aa52f5902f7fa91b0.tar.bz2
edk2-e50a226b2ff490d33fe2f35aa52f5902f7fa91b0.zip
MdeModulePkg: Fix typo.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17045 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib')
-rw-r--r--MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c b/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
index e4f7756f72..cae50ff56e 100644
--- a/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
+++ b/MdeModulePkg/Library/PiSmmCoreMemoryAllocationLib/MemoryAllocationLib.c
@@ -285,7 +285,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);