mirror of https://github.com/acidanthera/audk.git
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>
This commit is contained in:
parent
7e55cf6b48
commit
97eedf5dfb
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
;
|
||||
; Abstract:
|
||||
;
|
||||
; Switch the stack from temporary memory to permenent memory.
|
||||
; Switch the stack from temporary memory to permanent memory.
|
||||
;
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue