]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFsp2WrapperPkg: Fix various typos
authorAntoine Coeur <coeur@gmx.fr>
Wed, 4 Dec 2019 04:14:53 +0000 (12:14 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 11 Dec 2019 01:42:31 +0000 (01:42 +0000)
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>
IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c
IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h
IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h
IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm
IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c
IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHobProcessLibSample.c
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntry.nasm
IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.nasm

index 0f8cd69a0e6eba93a70265a1965d130cea25a7a9..b20f0805a021925df092b13b0fddd637055b9ddb 100644 (file)
@@ -352,7 +352,7 @@ FspsWrapperInitApiMode (
   EFI_BOOT_MODE        BootMode;\r
 \r
   //\r
-  // Register MemoryDiscovered Nofity to run FspSiliconInit\r
+  // Register MemoryDiscovered Notify to run FspSiliconInit\r
   //\r
   Status = PeiServicesNotifyPpi (&mPeiMemoryDiscoveredNotifyDesc);\r
   ASSERT_EFI_ERROR (Status);\r
index e39054c30d3b50052c46ff744e37d828fec8b032..11a3faaad87ab49bc033f5d753c48ce56fbed54d 100644 (file)
@@ -40,7 +40,7 @@ CallFspNotifyPhase (
 /**\r
   Call FSP API - FspMemoryInit.\r
 \r
-  @param[in]  FspmUpdDataPtr          Pointer to the FSPM_UPD data sructure.\r
+  @param[in]  FspmUpdDataPtr          Pointer to the FSPM_UPD data structure.\r
   @param[out] HobListPtr              Pointer to receive the address of the HOB list.\r
 \r
   @return EFI status returned by FspMemoryInit API.\r
index b90f0eb783020a754802666acec8b4fe5868065e..2aa14c92fd631c00e4f1916c64f99b3a44f203d0 100644 (file)
@@ -12,7 +12,7 @@
 /**\r
   This function overrides the default configurations in the FSP-M UPD data region.\r
 \r
-  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data strcture.\r
+  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data structure.\r
 \r
 **/\r
 VOID\r
@@ -24,7 +24,7 @@ UpdateFspmUpdData (
 /**\r
   This function overrides the default configurations in the FSP-S UPD data region.\r
 \r
-  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data strcture.\r
+  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data structure.\r
 \r
 **/\r
 VOID\r
index 45c8f21255e36c46e1729ab974d11aeb561481d4..db8e62ebc5a82ce0735944c902b3fd86a6337e34 100644 (file)
@@ -43,7 +43,7 @@ ASM_PFX(AsmExecute32BitCode):
     cli\r
 \r
     ;\r
-    ; save orignal GDTR and CS\r
+    ; save original GDTR and CS\r
     ;\r
     mov     rax, ds\r
     push    rax\r
@@ -190,7 +190,7 @@ ReloadCS:
     pop     rdi\r
     popfq\r
     ;\r
-    ; Switch to orignal GDT and CS. here rsp is pointer to the orignal GDT descriptor.\r
+    ; Switch to original GDT and CS. here rsp is pointer to the original GDT descriptor.\r
     ;\r
     lgdt    [rsp]\r
     ;\r
@@ -198,7 +198,7 @@ ReloadCS:
     ;\r
     add     rsp, 0x10\r
     ;\r
-    ; switch to orignal CS and GDTR\r
+    ; switch to original CS and GDTR\r
     ;\r
     pop     r9                 ; get  CS\r
     shl     r9,  32            ; rcx[32..47] <- Cs\r
index def04b1766592fd589763c3c6830d8d52b7559fe..dddf80b76c26f70d34f23de8c0f7f2108313b204 100644 (file)
@@ -14,7 +14,7 @@
 \r
   @note At this point, memory is NOT ready, PeiServices are available to use.\r
 \r
-  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data strcture.\r
+  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data structure.\r
 \r
 **/\r
 VOID\r
@@ -28,7 +28,7 @@ UpdateFspmUpdData (
 /**\r
   This function overrides the default configurations in the FSP-S UPD data region.\r
 \r
-  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data strcture.\r
+  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data structure.\r
 \r
 **/\r
 VOID\r
index 54cebe127c8feea1306e36e1a307fa3628dbe94e..48f4b0295a30d1830ac4aa69e0f2efe009d27cbf 100644 (file)
 #define PEI_ADDITIONAL_MEMORY_SIZE    (16 * EFI_PAGE_SIZE)\r
 \r
 /**\r
-  Get the mem size in memory type infromation table.\r
+  Get the mem size in memory type information table.\r
 \r
   @param[in] PeiServices  PEI Services table.\r
 \r
-  @return the mem size in memory type infromation table.\r
+  @return the mem size in memory type information table.\r
 **/\r
 UINT64\r
 GetMemorySizeInMemoryTypeInformation (\r
index d8d0582cb4fa22c11170352acf10d594567630b8..9f190bb25b0fc00b4b6bd1fddaad53016824117d 100644 (file)
@@ -207,7 +207,7 @@ TempRamInitDone:
   cmp eax, 8000000Eh      ;Check if EFI_NOT_FOUND returned. Error code for Microcode Update not found.\r
   je  CallSecFspInit      ;If microcode not found, don't hang, but continue.\r
 \r
-  cmp eax, 0              ;Check if EFI_SUCCESS retuned.\r
+  cmp eax, 0              ;Check if EFI_SUCCESS returned.\r
   jnz FspApiFailed\r
 \r
   ;   ECX: start of range\r
index ba989bd4412b0822cea0ae4db748679aace9005f..d7394cf286c65cb5a0c1e46c0f9a2144f204acb8 100644 (file)
@@ -5,7 +5,7 @@
 ;\r
 ; Abstract:\r
 ;\r
-;   Switch the stack from temporary memory to permenent memory.\r
+;   Switch the stack from temporary memory to permanent memory.\r
 ;\r
 ;------------------------------------------------------------------------------\r
 \r