MdeModulePkg/Core: Fix typos in comments
- paramters -> parameters - funciton -> function - dependecy -> dependency - evauated -> evaluated - genric -> generic - retore -> restore - Protocl -> Protocol - availible -> available - elasped -> elapsed - sarted -> started - boundry -> boundary - permenent -> permanent - debuging -> debugging - availble -> available Cc: Feng Tian <feng.tian@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@@ -671,8 +671,8 @@ PeiCheckAndSwitchStack (
|
||||
|
||||
if (Private->SwitchStackSignal) {
|
||||
//
|
||||
// Before switch stack from temporary memory to permenent memory, calculate the heap and stack
|
||||
// usage in temporary memory for debuging.
|
||||
// Before switch stack from temporary memory to permanent memory, calculate the heap and stack
|
||||
// usage in temporary memory for debugging.
|
||||
//
|
||||
DEBUG_CODE_BEGIN ();
|
||||
UINT32 *StackPointer;
|
||||
@@ -709,10 +709,10 @@ PeiCheckAndSwitchStack (
|
||||
//
|
||||
// Reserve the size of new stack at bottom of physical memory
|
||||
//
|
||||
// The size of new stack in permenent memory must be the same size
|
||||
// The size of new stack in permanent memory must be the same size
|
||||
// or larger than the size of old stack in temporary memory.
|
||||
// But if new stack is smaller than the size of old stack, we also reserve
|
||||
// the size of old stack at bottom of permenent memory.
|
||||
// the size of old stack at bottom of permanent memory.
|
||||
//
|
||||
NewStackSize = RShiftU64 (Private->PhysicalMemoryLength, 1);
|
||||
NewStackSize = ALIGN_VALUE (NewStackSize, EFI_PAGE_SIZE);
|
||||
@@ -789,7 +789,7 @@ PeiCheckAndSwitchStack (
|
||||
|
||||
//
|
||||
// Temporary Ram Support PPI is provided by platform, it will copy
|
||||
// temporary memory to permenent memory and do stack switching.
|
||||
// temporary memory to permanent memory and do stack switching.
|
||||
// After invoking Temporary Ram Support PPI, the following code's
|
||||
// stack is in permanent memory.
|
||||
//
|
||||
@@ -1142,7 +1142,7 @@ PeiDispatcher (
|
||||
if ((Private->PeiMemoryInstalled) && (Private->Fv[FvCount].PeimState[PeimCount] == PEIM_STATE_REGISITER_FOR_SHADOW) && \
|
||||
(Private->HobList.HandoffInformationTable->BootMode != BOOT_ON_S3_RESUME || PcdGetBool (PcdShadowPeimOnS3Boot))) {
|
||||
//
|
||||
// If memory is availble we shadow images by default for performance reasons.
|
||||
// If memory is available we shadow images by default for performance reasons.
|
||||
// We call the entry point a 2nd time so the module knows it's shadowed.
|
||||
//
|
||||
//PERF_START (PeiServices, L"PEIM", PeimFileHandle, 0);
|
||||
|
Reference in New Issue
Block a user