mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
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
This commit is contained in:
parent
85efb9d860
commit
4f953ed721
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
UEFI Decompress Library implementation refer to UEFI specification.
|
UEFI Decompress Library implementation refer to UEFI specification.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
@ -68,7 +68,7 @@ FillBuf (
|
|||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Caculate additional bit count read to update mBitCount
|
// Calculate additional bit count read to update mBitCount
|
||||||
//
|
//
|
||||||
Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits);
|
Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits);
|
||||||
|
|
||||||
@ -777,7 +777,7 @@ UefiDecompress (
|
|||||||
Sd->mSrcBase = (UINT8 *)Src;
|
Sd->mSrcBase = (UINT8 *)Src;
|
||||||
Sd->mDstBase = Dst;
|
Sd->mDstBase = Dst;
|
||||||
//
|
//
|
||||||
// CompSize and OrigSize are caculated in bytes
|
// CompSize and OrigSize are calculated in bytes
|
||||||
//
|
//
|
||||||
Sd->mCompSize = CompSize;
|
Sd->mCompSize = CompSize;
|
||||||
Sd->mOrigSize = OrigSize;
|
Sd->mOrigSize = OrigSize;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
In addition, allocation for the Reserved memory types are not supported and
|
In addition, allocation for the Reserved memory types are not supported and
|
||||||
will always return NULL.
|
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
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -320,7 +320,7 @@ InternalAllocateAlignedPages (
|
|||||||
}
|
}
|
||||||
if (Alignment > EFI_PAGE_SIZE) {
|
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;
|
AlignmentMask = Alignment - 1;
|
||||||
RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
|
RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Support routines for memory allocation routines based
|
Support routines for memory allocation routines based
|
||||||
on boot services for Dxe phase drivers.
|
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
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -194,7 +194,7 @@ InternalAllocateAlignedPages (
|
|||||||
}
|
}
|
||||||
if (Alignment > EFI_PAGE_SIZE) {
|
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;
|
AlignmentMask = Alignment - 1;
|
||||||
RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
|
RealPages = Pages + EFI_SIZE_TO_PAGES (Alignment);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user