From: Pierre Gondois <pierre.gond...@arm.com> In an effort to clean the documentation of the above package, remove duplicated words.
Cc: Eric Dong <eric.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> --- .../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 ( ); /** - Function that uses DEBUG() macros to display the contents of a a CPU feature bit mask. + Function that uses DEBUG() macros to display the contents of a CPU feature bit mask. @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/RegisterCpuFeaturesLib.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" /** - Function that uses DEBUG() macros to display the contents of a a CPU feature bit mask. + Function that uses DEBUG() macros to display the contents of a CPU feature bit mask. @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, feature A has finished its task - // in all all thread. Feature A finished in all threads also means feature 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/Library/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; // - // Read VMCS size and and align to 4KB + // Read VMCS size and align to 4KB // VmxBasic.Uint64 = AsmReadMsr64 (MSR_IA32_VMX_BASIC); return ALIGN_VALUE (VmxBasic.Bits.VmcsSize, SIZE_4KB); diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/X64/PageTbl.c b/UefiCpuPkg/PiSmmCpuDxeSmm/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 IndexOfPml4Entries loop. + // So lets allocate space for them and fill them in the IndexOfPml4Entries loop. // When 5-Level Paging is disabled, below allocation happens only once. // if (m5LevelPagingNeeded) { @@ -314,7 +314,7 @@ SetStaticPageTable ( // // Each Directory Pointer entries points to a page of Page Directory entires. - // So allocate space for them and fill them in in the IndexOfPageDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPageDirectoryEntries loop. // PageDirectoryEntry = (UINT64 *)((*PageDirectoryPointerEntry) & ~mAddressEncMask & gPhyMask); if (PageDirectoryEntry == 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 = 0; IndexOfPml4Entries < NumberOfPml4EntriesNeeded; IndexOfPml4Entries++, PageMapLevel4Entry++) { // // Each PML4 entry points to a page of Page Directory Pointer entires. - // So lets allocate space for them and fill them in in the IndexOfPdpEntries loop. + // So lets allocate space for them and fill them in the IndexOfPdpEntries loop. // PageDirectoryPointerEntry = (PAGE_MAP_AND_DIRECTORY_POINTER *)S3NvsPageTableAddress; S3NvsPageTableAddress += SIZE_4KB; @@ -716,7 +716,7 @@ RestoreS3PageTables ( for (IndexOfPdpEntries = 0; IndexOfPdpEntries < NumberOfPdpEntriesNeeded; IndexOfPdpEntries++, PageDirectoryPointerEntry++) { // // Each Directory Pointer entries points to a page of Page Directory entires. - // So allocate space for them and fill them in in the IndexOfPageDirectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPageDirectoryEntries loop. // PageDirectoryEntry = (PAGE_TABLE_ENTRY *)S3NvsPageTableAddress; S3NvsPageTableAddress += SIZE_4KB; -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92704): https://edk2.groups.io/g/devel/message/92704 Mute This Topic: https://groups.io/mt/93207408/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-