- tempory -> temporary
- immediatly -> immediately
- permenent -> permanent
- paramter -> parameter
- funciton -> function

Cc: Jiewen Yao <[email protected]>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <[email protected]>
---
 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

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to