From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web09.8087.1575389820224603356 for ; Tue, 03 Dec 2019 08:17:00 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Qp/o1mhM; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575389819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TgjcrqAAqfyDTtSPX9k/x1iZWHSniqmspAqDv3jwAYE=; b=Qp/o1mhMe215JVcvnUszq2ImNqtfxxniN0CXSq8DrQLniCgq7n5FpoBNB33IKf8gy7Xt6/ kOeNqtu+I66wqlo4pom0kcH+1IAPVeCUt0S0t2i1S431l9gcz3rEuiFiTult6h0rxBQ+Un 8ONQBKHCvAyPyR5J5MQamd+qDlQ37Vg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-281-FnxOIAZGOPup4NvypuJYjQ-1; Tue, 03 Dec 2019 11:16:55 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9FA23800D54; Tue, 3 Dec 2019 16:16:54 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-86.brq.redhat.com [10.40.204.86]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CDF1560C81; Tue, 3 Dec 2019 16:16:52 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Chasel Chiu , Nate DeSimone , Star Zeng , Philippe Mathieu-Daude Subject: [PATCH 10/79] IntelFsp2WrapperPkg: Fix various typos Date: Tue, 3 Dec 2019 17:14:53 +0100 Message-Id: <20191203161602.15969-11-philmd@redhat.com> In-Reply-To: <20191203161602.15969-1-philmd@redhat.com> References: <20191203161602.15969-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: FnxOIAZGOPup4NvypuJYjQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Antoine Coeur Fix various typos in comments and documentation. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Reviewed-by: Philippe Mathieu-Daude Signed-off-by: Philippe Mathieu-Daude --- IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h = | 2 +- IntelFsp2WrapperPkg/Include/Library/FspWrapperPlatformLib.h = | 4 ++-- IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c = | 2 +- IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlat= formLibSample.c | 4 ++-- IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapperHob= ProcessLibSample.c | 4 ++-- IntelFsp2WrapperPkg/Library/BaseFspWrapperApiLib/X64/Thunk64To32.nasm = | 6 +++--- IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/SecEntr= y.nasm | 2 +- IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Stack.n= asm | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/IntelFsp2WrapperPkg/Include/Library/FspWrapperApiLib.h b/Intel= Fsp2WrapperPkg/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. =20 - @param[in] FspmUpdDataPtr Pointer to the FSPM_UPD data sructur= e. + @param[in] FspmUpdDataPtr Pointer to the FSPM_UPD data structu= re. @param[out] HobListPtr Pointer to receive the address of th= e HOB list. =20 @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. =20 - @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strc= ture. + @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data stru= cture. =20 **/ VOID @@ -24,7 +24,7 @@ UpdateFspmUpdData ( /** This function overrides the default configurations in the FSP-S UPD data= region. =20 - @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strc= ture. + @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data stru= cture. =20 **/ VOID diff --git a/IntelFsp2WrapperPkg/FspsWrapperPeim/FspsWrapperPeim.c b/IntelF= sp2WrapperPkg/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; =20 // - // Register MemoryDiscovered Nofity to run FspSiliconInit + // Register MemoryDiscovered Notify to run FspSiliconInit // Status =3D PeiServicesNotifyPpi (&mPeiMemoryDiscoveredNotifyDesc); ASSERT_EFI_ERROR (Status); diff --git a/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/Fs= pWrapperPlatformLibSample.c b/IntelFsp2WrapperPkg/Library/BaseFspWrapperPla= tformLibSample/FspWrapperPlatformLibSample.c index def04b176659..dddf80b76c26 100644 --- a/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrappe= rPlatformLibSample.c +++ b/IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrappe= rPlatformLibSample.c @@ -14,7 +14,7 @@ =20 @note At this point, memory is NOT ready, PeiServices are available to u= se. =20 - @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strc= ture. + @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data stru= cture. =20 **/ VOID @@ -28,7 +28,7 @@ UpdateFspmUpdData ( /** This function overrides the default configurations in the FSP-S UPD data= region. =20 - @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data strc= ture. + @param[in,out] FspUpdRgnPtr A pointer to the UPD data region data stru= cture. =20 **/ VOID diff --git a/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/F= spWrapperHobProcessLibSample.c b/IntelFsp2WrapperPkg/Library/PeiFspWrapperH= obProcessLibSample/FspWrapperHobProcessLibSample.c index 54cebe127c8f..48f4b0295a30 100644 --- a/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapp= erHobProcessLibSample.c +++ b/IntelFsp2WrapperPkg/Library/PeiFspWrapperHobProcessLibSample/FspWrapp= erHobProcessLibSample.c @@ -29,11 +29,11 @@ #define PEI_ADDITIONAL_MEMORY_SIZE (16 * EFI_PAGE_SIZE) =20 /** - Get the mem size in memory type infromation table. + Get the mem size in memory type information table. =20 @param[in] PeiServices PEI Services table. =20 - @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/Thunk64To= 32.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 =20 ; - ; 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 G= DT 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/SecFspWrapperPlatformSecLi= bSample/Ia32/SecEntry.nasm index d8d0582cb4fa..9f190bb25b0f 100644 --- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Se= cEntry.nasm +++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/Se= cEntry.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 continu= e. =20 - cmp eax, 0 ;Check if EFI_SUCCESS retuned. + cmp eax, 0 ;Check if EFI_SUCCESS returned. jnz FspApiFailed =20 ; ECX: start of range diff --git a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/= Ia32/Stack.nasm b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSa= mple/Ia32/Stack.nasm index ba989bd4412b..d7394cf286c6 100644 --- a/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/St= ack.nasm +++ b/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/St= ack.nasm @@ -5,7 +5,7 @@ ; ; Abstract: ; -; Switch the stack from temporary memory to permenent memory. +; Switch the stack from temporary memory to permanent memory. ; ;-------------------------------------------------------------------------= ----- =20 --=20 2.21.0