From 058dcbf2b2c647d021820097fab8b6d4fced4465 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Wed, 19 Oct 2016 15:01:19 +0800 Subject: IntelFsp2Pkg: Fix typos in comments - tempory -> temporary - immediatly -> immediately - permenent -> permanent - funciton -> function Cc: Jiewen Yao Cc: Giri P Mudusuru Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin Reviewed-by: Jiewen Yao Reviewed-by: Giri P Mudusuru --- IntelFsp2Pkg/FspSecCore/SecMain.c | 6 +++--- IntelFsp2Pkg/FspSecCore/SecMain.h | 2 +- IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'IntelFsp2Pkg') diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.c b/IntelFsp2Pkg/FspSecCore/SecMain.c index fa556bf058..0432dee6ea 100644 --- a/IntelFsp2Pkg/FspSecCore/SecMain.c +++ b/IntelFsp2Pkg/FspSecCore/SecMain.c @@ -39,7 +39,7 @@ UINT64 mIdtEntryTemplate = 0xffff8e000008ffe4ULL; @param[in] SizeOfRam Size of the temporary memory available for use. - @param[in] TempRamBase Base address of tempory ram + @param[in] TempRamBase Base address of temporary ram @param[in] BootFirmwareVolume Base address of the Boot Firmware Volume. @param[in] PeiCore PeiCore entry point. @param[in] BootLoaderStack BootLoader stack. @@ -215,8 +215,8 @@ SecTemporaryRamSupport ( // // SecSwitchStack function must be invoked after the memory migration - // immediatly, also we need fixup the stack change caused by new call into - // permenent memory. + // immediately, also we need fixup the stack change caused by new call into + // permanent memory. // SecSwitchStack ( (UINT32) (UINTN) OldStack, diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.h b/IntelFsp2Pkg/FspSecCore/SecMain.h index 33f73625ca..291bc5ca5c 100644 --- a/IntelFsp2Pkg/FspSecCore/SecMain.h +++ b/IntelFsp2Pkg/FspSecCore/SecMain.h @@ -105,7 +105,7 @@ InitializeFloatingPointUnits ( @param[in] SizeOfRam Size of the temporary memory available for use. - @param[in] TempRamBase Base address of tempory ram + @param[in] TempRamBase Base address of temporary ram @param[in] BootFirmwareVolume Base address of the Boot Firmware Volume. @param[in] PeiCore PeiCore entry point. @param[in] BootLoaderStack BootLoader stack. diff --git a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h index e90b13e8da..fee44a3147 100644 --- a/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h +++ b/IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h @@ -16,7 +16,7 @@ /** - This funciton will switch the current stack to the previous saved stack. + This function will switch the current stack to the previous saved stack. Before calling the previous stack has to be set in FSP_GLOBAL_DATA.CoreStack. EIP FLAGS 16 bit FLAGS 16 bit -- cgit v1.2.3