Reviewed-by: Nate DeSimone <nathaniel.l.desim...@intel.com> -----Original Message----- From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Philippe Mathieu-Daudé Sent: Tuesday, December 3, 2019 8:15 AM To: devel@edk2.groups.io Cc: Antoine Coeur <co...@gmx.fr>; Chiu, Chasel <chasel.c...@intel.com>; Desimone, Nathaniel L <nathaniel.l.desim...@intel.com>; Zeng, Star <star.z...@intel.com>; Philippe Mathieu-Daude <phi...@redhat.com> Subject: [edk2-devel] [PATCH 10/79] IntelFsp2WrapperPkg: Fix various typos
From: Antoine Coeur <co...@gmx.fr> Fix various typos in comments and documentation. Cc: Chasel Chiu <chasel.c...@intel.com> Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> Cc: Star Zeng <star.z...@intel.com> Reviewed-by: Philippe Mathieu-Daude <phi...@redhat.com> Signed-off-by: Philippe Mathieu-Daude <phi...@redhat.com> --- IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h | 2 +- IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h | 4 ++-- IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c | 2 +- IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c | 4 ++-- IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c | 4 ++-- IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm | 6 +++--- IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm | 2 +- IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h b/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h index e39054c30d3b..11a3faaad87a 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 b90f0eb78302..2aa14c92fd63 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/FspsWrapperPeim/FspsWrapperPeim.c b/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c index 0f8cd69a0e6e..b20f0805a021 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/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c index def04b176659..dddf80b76c26 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 54cebe127c8f..48f4b0295a30 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/BaseFspWrapperApiLib/X64/Thunk64To32.nasm b/IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm index 45c8f21255e3..db8e62ebc5a8 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/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm index d8d0582cb4fa..9f190bb25b0f 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 ba989bd4412b..d7394cf286c6 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. ; ;------------------------------------------------------------------------------ -- 2.21.0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#51696): https://edk2.groups.io/g/devel/message/51696 Mute This Topic: https://groups.io/mt/65773146/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-