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.web10.1543.1662452994773578696 for ; Tue, 06 Sep 2022 01:29:54 -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 B5EB0176C; Tue, 6 Sep 2022 01:30:00 -0700 (PDT) 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 8E8333F73D; Tue, 6 Sep 2022 01:29:53 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Guo Dong , Ray Ni , Sean Rhodes Subject: [PATCH v2 16/17] UefiPayloadPkg: Remove duplicated words Date: Tue, 6 Sep 2022 10:29:11 +0200 Message-Id: <20220906082912.81795-17-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220906082912.81795-1-Pierre.Gondois@arm.com> References: <20220906082912.81795-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: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Signed-off-by: Pierre Gondois --- UefiPayloadPkg/Include/Library/SpiFlashLib.h | 2 +- UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.c | 2 +- UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c | 2 +- UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c | 2 +- UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c | 2 +- UefiPayloadPkg/UefiPayloadEntry/X64/VirtualMemory.c | 6 +++--- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/UefiPayloadPkg/Include/Library/SpiFlashLib.h b/UefiPayloadPk= g/Include/Library/SpiFlashLib.h index 07f40502f251..8906dad043b0 100644 --- a/UefiPayloadPkg/Include/Library/SpiFlashLib.h +++ b/UefiPayloadPkg/Include/Library/SpiFlashLib.h @@ -194,7 +194,7 @@ SpiConstructor ( /** Get the SPI region base and size, based on the enum type =20 - @param[in] FlashRegionType The Flash Region type for for the base= address which is listed in the Descriptor. + @param[in] FlashRegionType The Flash Region type for the base add= ress which is listed in the Descriptor. @param[out] BaseAddress The Flash Linear Address for the Regio= n 'n' Base @param[out] RegionSize The size for the Region 'n' =20 diff --git a/UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.c b/UefiPaylo= adPkg/Library/SpiFlashLib/SpiFlashLib.c index 22639a748c04..58c86ade8997 100644 --- a/UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.c +++ b/UefiPayloadPkg/Library/SpiFlashLib/SpiFlashLib.c @@ -807,7 +807,7 @@ WaitForSpiCycleComplete ( /** Get the SPI region base and size, based on the enum type =20 - @param[in] FlashRegionType The Flash Region type for for the base= address which is listed in the Descriptor. + @param[in] FlashRegionType The Flash Region type for the base add= ress which is listed in the Descriptor. @param[out] BaseAddress The Flash Linear Address for the Regio= n 'n' Base @param[out] RegionSize The size for the Region 'n' =20 diff --git a/UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c b/UefiPay= loadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c index cb915e7142eb..6df421bcf99e 100644 --- a/UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c +++ b/UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf32Lib.c @@ -467,7 +467,7 @@ LoadElf32Image ( } =20 // - // Relocate when new new image base is not the preferred image base. + // Relocate when new image base is not the preferred image base. // if (ElfCt->ImageAddress !=3D ElfCt->PreferredImageAddress) { RelocateElf32Sections (ElfCt); diff --git a/UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c b/UefiPay= loadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c index c8dbb887340b..e95b31d82671 100644 --- a/UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c +++ b/UefiPayloadPkg/PayloadLoaderPeim/ElfLib/Elf64Lib.c @@ -476,7 +476,7 @@ LoadElf64Image ( } =20 // - // Relocate when new new image base is not the preferred image base. + // Relocate when new image base is not the preferred image base. // if (ElfCt->ImageAddress !=3D ElfCt->PreferredImageAddress) { RelocateElf64Sections (ElfCt); diff --git a/UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c b/UefiPay= loadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c index c66e56aee15a..43f53d4cfae9 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c +++ b/UefiPayloadPkg/UefiPayloadEntry/Ia32/DxeLoadFunc.c @@ -131,7 +131,7 @@ Create4GPageTablesIa32Pae ( for (IndexOfPdpEntries =3D 0; IndexOfPdpEntries < NumberOfPdpEntriesNe= eded; 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 IndexOfPageDir= ectoryEntries loop. + // So allocate space for them and fill them in the IndexOfPageDirect= oryEntries loop. // PageDirectoryEntry =3D (VOID *)PageAddress; PageAddress +=3D SIZE_4KB; diff --git a/UefiPayloadPkg/UefiPayloadEntry/X64/VirtualMemory.c b/UefiPa= yloadPkg/UefiPayloadEntry/X64/VirtualMemory.c index 1899404b244c..ec942ead3445 100644 --- a/UefiPayloadPkg/UefiPayloadEntry/X64/VirtualMemory.c +++ b/UefiPayloadPkg/UefiPayloadEntry/X64/VirtualMemory.c @@ -822,7 +822,7 @@ CreateIdentityMappingPageTables ( { // // 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. // PageMapLevel4Entry =3D (VOID *)BigPageAddress; @@ -844,7 +844,7 @@ CreateIdentityMappingPageTables ( { // // 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 (VOID *)BigPageAddress; BigPageAddress +=3D SIZE_4KB; @@ -879,7 +879,7 @@ CreateIdentityMappingPageTables ( { // // 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 (VOID *)BigPageAddress; BigPageAddress +=3D SIZE_4KB; --=20 2.25.1