From 13ca714cd24830d42252fdbd012abf5a5f716246 Mon Sep 17 00:00:00 2001 From: Gary Lin Date: Wed, 19 Oct 2016 15:01:17 +0800 Subject: [PATCH] IntelFspPkg: Fix typos in comments - tempory -> temporary - immediatly -> immediately - permenent -> permanent - paramter -> parameter - funciton -> function Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin Reviewed-by: Jiewen Yao Reviewed-by: Giri P Mudusuru --- IntelFspPkg/FspSecCore/SecMain.c | 6 +++--- IntelFspPkg/FspSecCore/SecMain.h | 2 +- IntelFspPkg/Include/Library/FspCommonLib.h | 6 +++--- IntelFspPkg/Include/Library/FspSwitchStackLib.h | 2 +- IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +++--- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/IntelFspPkg/FspSecCore/SecMain.c b/IntelFspPkg/FspSecCore/SecMain.c index 99acefaefa..e1d9cb2d22 100644 --- a/IntelFspPkg/FspSecCore/SecMain.c +++ b/IntelFspPkg/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. @@ -200,8 +200,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/IntelFspPkg/FspSecCore/SecMain.h b/IntelFspPkg/FspSecCore/SecMain.h index 1fd2f2bdb2..3888635839 100644 --- a/IntelFspPkg/FspSecCore/SecMain.h +++ b/IntelFspPkg/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/IntelFspPkg/Include/Library/FspCommonLib.h b/IntelFspPkg/Include/Library/FspCommonLib.h index fa2f81c088..5e6846f60e 100644 --- a/IntelFspPkg/Include/Library/FspCommonLib.h +++ b/IntelFspPkg/Include/Library/FspCommonLib.h @@ -40,9 +40,9 @@ GetFspGlobalDataPointer ( ); /** - This function gets back the FSP API paramter passed by the bootlaoder. + This function gets back the FSP API parameter passed by the bootlaoder. - @retval ApiParameter FSP API paramter passed by the bootlaoder. + @retval ApiParameter FSP API parameter passed by the bootlaoder. **/ UINT32 EFIAPI @@ -51,7 +51,7 @@ GetFspApiParameter ( ); /** - This function sets the FSP API paramter in the stack. + This function sets the FSP API parameter in the stack. @param[in] Value New parameter value. diff --git a/IntelFspPkg/Include/Library/FspSwitchStackLib.h b/IntelFspPkg/Include/Library/FspSwitchStackLib.h index e90b13e8da..fee44a3147 100644 --- a/IntelFspPkg/Include/Library/FspSwitchStackLib.h +++ b/IntelFspPkg/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 diff --git a/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c b/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c index a31d16bb70..f6a4252c3f 100644 --- a/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c +++ b/IntelFspPkg/Library/BaseFspCommonLib/FspCommonLib.c @@ -89,9 +89,9 @@ GetFspGlobalDataPointer ( } /** - This function gets back the FSP API paramter passed by the bootlaoder. + This function gets back the FSP API parameter passed by the bootlaoder. - @retval ApiParameter FSP API paramter passed by the bootlaoder. + @retval ApiParameter FSP API parameter passed by the bootlaoder. **/ UINT32 EFIAPI @@ -106,7 +106,7 @@ GetFspApiParameter ( } /** - This function sets the FSP API paramter in the stack. + This function sets the FSP API parameter in the stack. @param[in] Value New parameter value. -- 2.39.2