From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.nue.novell.com (smtp.nue.novell.com [195.135.221.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EA9601A1E3E for ; Wed, 19 Oct 2016 00:02:52 -0700 (PDT) Received: from GaryWorkstation.apac.novell.com (ip-203-192-156-9.asianetcom.net [203.192.156.9]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Wed, 19 Oct 2016 09:02:48 +0200 From: Gary Lin To: edk2-devel@lists.01.org Cc: Jiewen Yao Date: Wed, 19 Oct 2016 15:01:17 +0800 Message-Id: <20161019070138.16424-13-glin@suse.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161019070138.16424-1-glin@suse.com> References: <20161019070138.16424-1-glin@suse.com> Subject: [PATCH 12/33] IntelFspPkg: Fix typos in comments X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 07:02:53 -0000 - 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 --- 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 99acefa..e1d9cb2 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 1fd2f2b..3888635 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 fa2f81c..5e6846f 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 e90b13e..fee44a3 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 a31d16b..f6a4252 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.10.1