From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.33242.1661270457293027008 for ; Tue, 23 Aug 2022 09:00:57 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B3143113E; Tue, 23 Aug 2022 09:01:00 -0700 (PDT) Received: from pierre123.nice.arm.com (pierre123.nice.arm.com [10.34.100.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 429D83F718; Tue, 23 Aug 2022 09:00:56 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Eric Dong , Ray Ni Subject: [PATCH 22/24] UefiCpuPkg: Remove duplicated words Date: Tue, 23 Aug 2022 18:00:29 +0200 Message-Id: <20220823160031.991072-23-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220823160031.991072-1-Pierre.Gondois@arm.com> References: <20220823160031.991072-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Pierre Gondois In an effort to clean the documentation of the above package, remove duplicated words. Cc: Eric Dong Cc: Ray Ni Signed-off-by: Pierre Gondois --- .../Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h | 2 +- .../Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c | 4 ++-- UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c | 2 +- UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c | 4 ++-- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeature= s.h b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h index 4a84954cac9d..7024533ea430 100644 --- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h +++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeatures.h @@ -176,7 +176,7 @@ SwitchNewBsp ( ); =20 /** - Function that uses DEBUG() macros to display the contents of a a CPU f= eature bit mask. + Function that uses DEBUG() macros to display the contents of a CPU fea= ture bit mask. =20 @param[in] FeatureMask A pointer to the CPU feature bit mask. @param[in] BitMaskSize CPU feature bits mask buffer size. diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeature= sLib.c b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib= .c index 0285aaf5c91a..a43d8b0aa0e8 100644 --- a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c +++ b/UefiCpuPkg/Library/RegisterCpuFeaturesLib/RegisterCpuFeaturesLib.c @@ -9,7 +9,7 @@ #include "RegisterCpuFeatures.h" =20 /** - Function that uses DEBUG() macros to display the contents of a a CPU f= eature bit mask. + Function that uses DEBUG() macros to display the contents of a CPU fea= ture bit mask. =20 @param[in] FeatureMask A pointer to the CPU feature bit mask. @param[in] BitMaskSize CPU feature bits mask buffer size. @@ -370,7 +370,7 @@ AdjustEntry ( // than core type dependence. So driver will adjust the feature order = to B -> A -> C. and driver // will remove the feature dependence in feature B. // Driver just needs to make sure before feature C been executed, feat= ure A has finished its task - // in all all thread. Feature A finished in all threads also means fea= ture B have finshed in all + // in all thread. Feature A finished in all threads also means feature= B have finshed in all // threads. // if (Before) { diff --git a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c b/UefiCpuPkg/L= ibrary/SmmCpuFeaturesLib/SmmStm.c index 4e8f897f5e9c..17c221407215 100644 --- a/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c +++ b/UefiCpuPkg/Library/SmmCpuFeaturesLib/SmmStm.c @@ -1074,7 +1074,7 @@ GetVmcsSize ( MSR_IA32_VMX_BASIC_REGISTER VmxBasic; =20 // - // Read VMCS size and and align to 4KB + // Read VMCS size and align to 4KB // VmxBasic.Uint64 =3D AsmReadMsr64 (MSR_IA32_VMX_BASIC); return ALIGN_VALUE (VmxBasic.Bits.VmcsSize, SIZE_4KB); diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c b/UefiCpuPkg/PiSmmCp= uDxeSmm/X64/PageTbl.c index 6587212f4e37..0456d96a0c48 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c @@ -260,7 +260,7 @@ SetStaticPageTable ( { // // Each PML5 entry points to a page of PML4 entires. - // So lets allocate space for them and fill them in in the IndexOfPm= l4Entries loop. + // So lets allocate space for them and fill them in the IndexOfPml4E= ntries loop. // When 5-Level Paging is disabled, below allocation happens only on= ce. // if (m5LevelPagingNeeded) { @@ -314,7 +314,7 @@ SetStaticPageTable ( =20 // // Each Directory Pointer entries points to a page of Page Dir= ectory entires. - // So allocate space for them and fill them in in the IndexOfP= ageDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPage= DirectoryEntries loop. // PageDirectoryEntry =3D (UINT64 *)((*PageDirectoryPointerEntry)= & ~mAddressEncMask & gPhyMask); if (PageDirectoryEntry =3D=3D NULL) { diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuP= kg/Universal/Acpi/S3Resume2Pei/S3Resume.c index 8419a4e32acb..3ff739339c79 100644 --- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c +++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c @@ -688,7 +688,7 @@ RestoreS3PageTables ( for (IndexOfPml4Entries =3D 0; IndexOfPml4Entries < NumberOfPml4Entr= iesNeeded; IndexOfPml4Entries++, PageMapLevel4Entry++) { // // Each PML4 entry points to a page of Page Directory Pointer enti= res. - // So lets allocate space for them and fill them in in the IndexOf= PdpEntries loop. + // So lets allocate space for them and fill them in the IndexOfPdp= Entries loop. // PageDirectoryPointerEntry =3D (PAGE_MAP_AND_DIRECTORY_POINTER *)S3= NvsPageTableAddress; S3NvsPageTableAddress +=3D SIZE_4KB; @@ -716,7 +716,7 @@ RestoreS3PageTables ( for (IndexOfPdpEntries =3D 0; IndexOfPdpEntries < NumberOfPdpEnt= riesNeeded; IndexOfPdpEntries++, PageDirectoryPointerEntry++) { // // Each Directory Pointer entries points to a page of Page Dir= ectory entires. - // So allocate space for them and fill them in in the IndexOfP= ageDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPage= DirectoryEntries loop. // PageDirectoryEntry =3D (PAGE_TABLE_ENTRY *)S3NvsPageTableA= ddress; S3NvsPageTableAddress +=3D SIZE_4KB; --=20 2.25.1