From nobody Tue Feb 10 22:17:55 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+93206+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+93206+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1662452994; cv=none; d=zohomail.com; s=zohoarc; b=Hq7OmsYfLoXtWhVXmOIhdLvG5AI4tCn8Hnk0Bdfkb7tBBslM84woEFJF1U1MQhl1h9ieyDbTx8fLOfqw2Z2E0+nB7K1ZerilFkeFoi8rxjBXEfLSCiH86V3omZvqWJARTn98OovIpD69rvgrbLrlznrYY8h78b0I3PHM0tF+pz0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1662452994; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=yYJMwKPV7UL+Hly33KmZoiYrejF4K5ms4L/fv3NEzUk=; b=dd7Cor+zKgxsRYZwflztf+Bk7B1mal13HyT1NjUMYXfS1bIArKyWS+tRHJE4SD05by3ZrHxOYe30Zy3e8OOtIWLlqIWG2PNYX+tVI/t7tFAjaD4T5maDSCbxwCEFDy1FdfW0TUx3ytuLRR+uE/HVZo/sf19efu4Za7Sb0DvMhhU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+93206+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1662452994608457.6708873104815; Tue, 6 Sep 2022 01:29:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id MFQcYY1788612xZ7KcONAzh1; Tue, 06 Sep 2022 01:29:54 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.1542.1662452993623954368 for ; Tue, 06 Sep 2022 01:29:53 -0700 X-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 91F33176C; Tue, 6 Sep 2022 01:29:59 -0700 (PDT) X-Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 8A1CD3F73D; Tue, 6 Sep 2022 01:29:52 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Eric Dong , Ray Ni Subject: [edk2-devel] [PATCH v2 15/17] UefiCpuPkg: Remove duplicated words Date: Tue, 6 Sep 2022 10:29:10 +0200 Message-Id: <20220906082912.81795-16-Pierre.Gondois@arm.com> In-Reply-To: <20220906082912.81795-1-Pierre.Gondois@arm.com> References: <20220906082912.81795-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: 5BnAxF2hg87CM3V1j8zeML6kx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1662452994; bh=AYW3z1DD+iuSOvKnbEb1+freNhNiDV7sTEx5a8t08cE=; h=Cc:Date:From:Reply-To:Subject:To; b=AFufJiyoi0xzOdnNyIE2mApE/4TkSUXg6Zyfiw8AJvnhnWiJNFK1iL9lSeSPZhGWS7R jJ9T38jOQxEy+2aNFWnnTlCsgkYofgvajKREnLvaw+GcS0USR1oCpRSKqxsAunBOjRGdo 80hSn+yB6nn8GnYdm5yPXLlH2kW/R0BD3Cw= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1662452995907100067 Content-Type: text/plain; charset="utf-8" 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/RegisterCpuFeatures.= 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 fea= ture bit mask. + Function that uses DEBUG() macros to display the contents of a CPU featu= re 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/RegisterCpuFeaturesL= ib.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 fea= ture bit mask. + Function that uses DEBUG() macros to display the contents of a CPU featu= re 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, featur= e A has finished its task - // in all all thread. Feature A finished in all threads also means featu= re 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/Lib= rary/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/PiSmmCpuD= xeSmm/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 IndexOfPml4= Entries loop. + // So lets allocate space for them and fill them in the IndexOfPml4Ent= ries loop. // When 5-Level Paging is disabled, below allocation happens only once. // if (m5LevelPagingNeeded) { @@ -314,7 +314,7 @@ SetStaticPageTable ( =20 // // Each Directory Pointer entries points to a page of Page Direc= tory entires. - // So allocate space for them and fill them in in the IndexOfPag= eDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPageDi= rectoryEntries loop. // PageDirectoryEntry =3D (UINT64 *)((*PageDirectoryPointerEntry) &= ~mAddressEncMask & gPhyMask); if (PageDirectoryEntry =3D=3D NULL) { diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg= /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 < NumberOfPml4Entrie= sNeeded; IndexOfPml4Entries++, PageMapLevel4Entry++) { // // Each PML4 entry points to a page of Page Directory Pointer entire= s. - // So lets allocate space for them and fill them in in the IndexOfPd= pEntries loop. + // So lets allocate space for them and fill them in the IndexOfPdpEn= tries loop. // PageDirectoryPointerEntry =3D (PAGE_MAP_AND_DIRECTORY_POINTER *)S3Nv= sPageTableAddress; S3NvsPageTableAddress +=3D SIZE_4KB; @@ -716,7 +716,7 @@ RestoreS3PageTables ( for (IndexOfPdpEntries =3D 0; IndexOfPdpEntries < NumberOfPdpEntri= esNeeded; IndexOfPdpEntries++, PageDirectoryPointerEntry++) { // // Each Directory Pointer entries points to a page of Page Direc= tory entires. - // So allocate space for them and fill them in in the IndexOfPag= eDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPageDi= rectoryEntries loop. // PageDirectoryEntry =3D (PAGE_TABLE_ENTRY *)S3NvsPageTableAdd= ress; S3NvsPageTableAddress +=3D SIZE_4KB; --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93206): https://edk2.groups.io/g/devel/message/93206 Mute This Topic: https://groups.io/mt/93496613/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-