summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2019-12-04 12:14:53 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2019-12-11 01:42:31 +0000
commit97eedf5dfbaffde33210fd88066247cf0b7d3325 (patch)
treed05df1d2eb0ed475d7a07ddd8d42d4475c5305f9 /IntelFsp2WrapperPkg
parent7e55cf6b48dcd43de46d008b2f12caaad2554503 (diff)
downloadedk2-97eedf5dfbaffde33210fd88066247cf0b7d3325.tar.gz
edk2-97eedf5dfbaffde33210fd88066247cf0b7d3325.tar.bz2
edk2-97eedf5dfbaffde33210fd88066247cf0b7d3325.zip
IntelFsp2WrapperPkg: Fix various typos
Fix various typos in comments and documentation. Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Star Zeng <star.zeng@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'IntelFsp2WrapperPkg')
-rw-r--r--IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c2
-rw-r--r--IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h2
-rw-r--r--IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h4
-rw-r--r--IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm6
-rw-r--r--IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c4
-rw-r--r--IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c4
-rw-r--r--IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm2
-rw-r--r--IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm2
8 files changed, 13 insertions, 13 deletions
diff --git a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c b/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c
index 0f8cd69a0e..b20f0805a0 100644
--- a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c
+++ b/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c
@@ -352,7 +352,7 @@ FspsWrapperInitApiMode (
EFI_BOOT_MODE BootMode;
//
- // Register MemoryDiscovered Nofity to run FspSiliconInit
+ // Register MemoryDiscovered Notify to run FspSiliconInit
//
Status = PeiServicesNotifyPpi (&mPeiMemoryDiscoveredNotifyDesc);
ASSERT_EFI_ERROR (Status);
diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h b/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h
index e39054c30d..11a3faaad8 100644
--- a/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h
+++ b/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h
@@ -40,7 +40,7 @@ CallFspNotifyPhase (
/**
Call FSP API - FspMemoryInit.
- @param[in] FspmUpdDataPtr Pointer to the FSPM_UPD data sructure.
+ @param[in] FspmUpdDataPtr Pointer to the FSPM_UPD data structure.
@param[out] HobListPtr Pointer to receive the address of the HOB list.
@return EFI status returned by FspMemoryInit API.
diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h b/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h
index b90f0eb783..2aa14c92fd 100644
--- a/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h
+++ b/IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h
@@ -12,7 +12,7 @@
/**
This function overrides the default configurations in the FSP-M UPD data region.
- @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
+ @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data structure.
**/
VOID
@@ -24,7 +24,7 @@ UpdateFspmUpdData (
/**
This function overrides the default configurations in the FSP-S UPD data region.
- @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
+ @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data structure.
**/
VOID
diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
index 45c8f21255..db8e62ebc5 100644
--- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
+++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
@@ -43,7 +43,7 @@ ASM_PFX(AsmExecute32BitCode):
cli
;
- ; save orignal GDTR and CS
+ ; save original GDTR and CS
;
mov rax, ds
push rax
@@ -190,7 +190,7 @@ ReloadCS:
pop rdi
popfq
;
- ; Switch to orignal GDT and CS. here rsp is pointer to the orignal GDT descriptor.
+ ; Switch to original GDT and CS. here rsp is pointer to the original GDT descriptor.
;
lgdt [rsp]
;
@@ -198,7 +198,7 @@ ReloadCS:
;
add rsp, 0x10
;
- ; switch to orignal CS and GDTR
+ ; switch to original CS and GDTR
;
pop r9 ; get CS
shl r9, 32 ; rcx[32..47] <- Cs
diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c
index def04b1766..dddf80b76c 100644
--- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c
+++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c
@@ -14,7 +14,7 @@
@note At this point, memory is NOT ready, PeiServices are available to use.
- @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
+ @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data structure.
**/
VOID
@@ -28,7 +28,7 @@ UpdateFspmUpdData (
/**
This function overrides the default configurations in the FSP-S UPD data region.
- @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strcture.
+ @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data structure.
**/
VOID
diff --git a/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c b/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c
index 54cebe127c..48f4b0295a 100644
--- a/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c
+++ b/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c
@@ -29,11 +29,11 @@
#define PEI_ADDITIONAL_MEMORY_SIZE (16 * EFI_PAGE_SIZE)
/**
- Get the mem size in memory type infromation table.
+ Get the mem size in memory type information table.
@param[in] PeiServices PEI Services table.
- @return the mem size in memory type infromation table.
+ @return the mem size in memory type information table.
**/
UINT64
GetMemorySizeInMemoryTypeInformation (
diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm
index d8d0582cb4..9f190bb25b 100644
--- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm
+++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm
@@ -207,7 +207,7 @@ TempRamInitDone:
cmp eax, 8000000Eh ;Check if EFI_NOT_FOUND returned. Error code for Microcode Update not found.
je CallSecFspInit ;If microcode not found, don't hang, but continue.
- cmp eax, 0 ;Check if EFI_SUCCESS retuned.
+ cmp eax, 0 ;Check if EFI_SUCCESS returned.
jnz FspApiFailed
; ECX: start of range
diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm
index ba989bd441..d7394cf286 100644
--- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm
+++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm
@@ -5,7 +5,7 @@
;
; Abstract:
;
-; Switch the stack from temporary memory to permenent memory.
+; Switch the stack from temporary memory to permanent memory.
;
;------------------------------------------------------------------------------