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>
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
/**\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
/**\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
/**\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
cli\r
\r
;\r
- ; save orignal GDTR and CS\r
+ ; save original GDTR and CS\r
;\r
mov rax, ds\r
push rax\r
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
;\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
\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
/**\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
#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
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
;\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