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

Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Giri P Mudusuru <giri.p.mudus...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <g...@suse.com>
---
 IntelFsp2Pkg/FspSecCore/SecMain.c                | 6 +++---
 IntelFsp2Pkg/FspSecCore/SecMain.h                | 2 +-
 IntelFsp2Pkg/Include/Library/FspSwitchStackLib.h | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/IntelFsp2Pkg/FspSecCore/SecMain.c 
b/IntelFsp2Pkg/FspSecCore/SecMain.c
index fa556bf..0432dee 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 33f7362..291bc5c 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 e90b13e..fee44a3 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
-- 
2.10.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to