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.33941.1661270448581707247 for ; Tue, 23 Aug 2022 09:00:48 -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 DD747113E; Tue, 23 Aug 2022 09:00:51 -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 6D3033F718; Tue, 23 Aug 2022 09:00:47 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Michael D Kinney , Liming Gao Subject: [PATCH 13/24] MdePkg: Remove duplicated words Date: Tue, 23 Aug 2022 18:00:20 +0200 Message-Id: <20220823160031.991072-14-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: Michael D Kinney Cc: Liming Gao Signed-off-by: Pierre Gondois --- MdePkg/Include/Guid/GraphicsInfoHob.h | 2 +- MdePkg/Include/Library/DevicePathLib.h | 2 +- MdePkg/Include/Library/DxeServicesLib.h | 6 +++--- MdePkg/Include/Library/ExtractGuidedSectionLib.h | 6 +++--- MdePkg/Include/Library/FileHandleLib.h | 4 ++-- MdePkg/Include/Library/PeCoffLib.h | 2 +- MdePkg/Include/Library/UefiLib.h | 2 +- MdePkg/Include/Library/UnitTestLib.h | 2 +- MdePkg/Include/Pi/PiMmCis.h | 2 +- MdePkg/Include/Pi/PiSmmCis.h | 2 +- MdePkg/Include/Protocol/ComponentName.h | 2 +- MdePkg/Include/Protocol/Smbios.h | 2 +- MdePkg/Include/Uefi/UefiMultiPhase.h | 2 +- MdePkg/Include/Uefi/UefiSpec.h | 2 +- MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c | 2 +- .../BaseExtractGuidedSectionLib.c | 6 +++--- MdePkg/Library/BaseS3StallLib/S3StallLib.c | 2 +- MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c | 2 +- MdePkg/Library/DxeServicesLib/DxeServicesLib.c | 6 +++--- .../PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c | 6 +++--- MdePkg/Library/SmmIoLib/SmmIoLib.c | 2 +- MdePkg/Library/SmmIoLib/SmmIoLib.inf | 2 +- MdePkg/Library/SmmIoLib/SmmIoLib.uni | 4 ++-- MdePkg/Library/SmmMemLib/SmmMemLib.c | 2 +- MdePkg/Library/SmmMemLib/SmmMemLib.inf | 2 +- MdePkg/Library/SmmMemLib/SmmMemLib.uni | 4 ++-- MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c | 4 ++-- .../StandaloneMmDriverEntryPoint.c | 4 ++-- MdePkg/Library/UefiDebugLibConOut/DebugLib.c | 2 +- MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c | 2 +- MdePkg/Library/UefiDebugLibStdErr/DebugLib.c | 2 +- MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf | 2 +- MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.uni | 2 +- MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c | 2 +- .../UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c | 2 +- MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c | 4 ++-- MdePkg/Library/UefiLib/Console.c | 2 +- MdePkg/Library/UefiLib/UefiLib.c | 2 +- MdePkg/Test/UnitTest/Library/BaseLib/Base64UnitTest.c | 4 ++-- 39 files changed, 56 insertions(+), 56 deletions(-) diff --git a/MdePkg/Include/Guid/GraphicsInfoHob.h b/MdePkg/Include/Guid/= GraphicsInfoHob.h index 237911e63aa0..ecfa283f924e 100644 --- a/MdePkg/Include/Guid/GraphicsInfoHob.h +++ b/MdePkg/Include/Guid/GraphicsInfoHob.h @@ -5,7 +5,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 @par Revision Reference: - This HOB is introduced in in PI Version 1.4. + This HOB is introduced in PI Version 1.4. =20 **/ =20 diff --git a/MdePkg/Include/Library/DevicePathLib.h b/MdePkg/Include/Libr= ary/DevicePathLib.h index 7a077e4217d2..039427d5b648 100644 --- a/MdePkg/Include/Library/DevicePathLib.h +++ b/MdePkg/Include/Library/DevicePathLib.h @@ -23,7 +23,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @retval TRUE DevicePath is valid. @retval FALSE DevicePath is NULL. @retval FALSE Maxsize is less than sizeof(EFI_DEVICE_PATH_PROTOC= OL). - @retval FALSE The length of any node node in the DevicePath is l= ess + @retval FALSE The length of any node in the DevicePath is less than sizeof (EFI_DEVICE_PATH_PROTOCOL). @retval FALSE If MaxSize is not zero, the size of the DevicePath exceeds MaxSize. diff --git a/MdePkg/Include/Library/DxeServicesLib.h b/MdePkg/Include/Lib= rary/DxeServicesLib.h index b5c5c4dbdf27..d3304f65a5fd 100644 --- a/MdePkg/Include/Library/DxeServicesLib.h +++ b/MdePkg/Include/Library/DxeServicesLib.h @@ -82,7 +82,7 @@ GetSectionFromAnyFvByFileType ( If Size is NULL, then ASSERT(). =20 =20 - @param NameGuid A pointer to to the FFS filename GUID to = search for + @param NameGuid A pointer to the FFS filename GUID to sea= rch for within any of the firmware volumes in the= platform. @param SectionType Indicates the FFS section type to search = for within the FFS file specified by NameGuid. @@ -135,7 +135,7 @@ GetSectionFromAnyFv ( If Buffer is NULL, then ASSERT(). If Size is NULL, then ASSERT(). =20 - @param NameGuid A pointer to to the FFS filename GUID to = search for + @param NameGuid A pointer to the FFS filename GUID to sea= rch for within the firmware volumes that the curr= ently executing module was loaded from. @param SectionType Indicates the FFS section type to search = for within @@ -269,7 +269,7 @@ GetFileBufferByFilePath ( =20 If NameGuid is NULL, then ASSERT(). =20 - @param NameGuid A pointer to to the FFS filename GUID to= search for + @param NameGuid A pointer to the FFS filename GUID to se= arch for within any of the firmware volumes in th= e platform. @param SectionType Indicates the FFS section type to search= for within the FFS file specified by NameGuid. diff --git a/MdePkg/Include/Library/ExtractGuidedSectionLib.h b/MdePkg/In= clude/Library/ExtractGuidedSectionLib.h index 15058ae636ff..6cd5288a9456 100644 --- a/MdePkg/Include/Library/ExtractGuidedSectionLib.h +++ b/MdePkg/Include/Library/ExtractGuidedSectionLib.h @@ -114,7 +114,7 @@ RETURN_STATUS If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). =20 - @param[in] SectionGuid A pointer to the GUID associated with the t= he handlers + @param[in] SectionGuid A pointer to the GUID associated with the h= andlers of the GUIDed section type being registered= . @param[in] GetInfoHandler Pointer to a function that examines a GUIDe= d section and returns the size of the decoded buffer and the size of = an optional scratch buffer @@ -163,7 +163,7 @@ ExtractGuidedSectionGetGuidList ( Examines a GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered th= rough ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supp= orts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supp= orts, then the associated handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER that was registered wi= th ExtractGuidedSectionRegisterHandlers() is used to retrieve the OututBufferSize, ScratchSize, and Attributes v= alues. The return status from the handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER is returned. @@ -206,7 +206,7 @@ ExtractGuidedSectionGetInfo ( Decodes the GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered th= rough ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supp= orts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supp= orts, then the associated handler of type EXTRACT_GUIDED_SECTION_DECODE_HANDLER that was registered with= ExtractGuidedSectionRegisterHandlers() is used to decode InputSection into the buffer specified by OutputBuff= er and the authentication status of this decode operation is returned in AuthenticationStatus. If the decoded = buffer is identical to the data in InputSection, diff --git a/MdePkg/Include/Library/FileHandleLib.h b/MdePkg/Include/Libr= ary/FileHandleLib.h index 1a238edee38c..4eb2b9a35101 100644 --- a/MdePkg/Include/Library/FileHandleLib.h +++ b/MdePkg/Include/Library/FileHandleLib.h @@ -384,9 +384,9 @@ FileHandleGetFileName ( @param[in, out] Buffer The pointer to buffer to read into. @param[in, out] Size The pointer to number of bytes in Buffe= r. @param[in] Truncate If the buffer is large enough, this has= no effect. - If the buffer is is too small and Trunc= ate is TRUE, + If the buffer is too small and Truncate= is TRUE, the line will be truncated. - If the buffer is is too small and Trunc= ate is FALSE, + If the buffer is too small and Truncate= is FALSE, then no read will occur. =20 @param[in, out] Ascii Boolean value for indicating whether th= e file is diff --git a/MdePkg/Include/Library/PeCoffLib.h b/MdePkg/Include/Library/= PeCoffLib.h index b45879453785..022dc24bccbc 100644 --- a/MdePkg/Include/Library/PeCoffLib.h +++ b/MdePkg/Include/Library/PeCoffLib.h @@ -90,7 +90,7 @@ typedef struct { /// PHYSICAL_ADDRESS DestinationAddress; /// - /// PeCoffLoaderLoadImage() sets EntryPoint to to the entry point of t= he PE/COFF image. + /// PeCoffLoaderLoadImage() sets EntryPoint to the entry point of the = PE/COFF image. /// PHYSICAL_ADDRESS EntryPoint; /// diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/Ue= fiLib.h index be7da7fdf7da..54af95459cee 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -406,7 +406,7 @@ EfiReleaseLock ( =20 This function tests whether the driver specified by DriverBindingHandl= e is currently managing the controller specified by ControllerHandle. This= test - is performed by evaluating if the the protocol specified by ProtocolGu= id is + is performed by evaluating if the protocol specified by ProtocolGuid i= s present on ControllerHandle and is was opened by DriverBindingHandle w= ith an attribute of EFI_OPEN_PROTOCOL_BY_DRIVER. If ProtocolGuid is NULL, then ASSERT(). diff --git a/MdePkg/Include/Library/UnitTestLib.h b/MdePkg/Include/Librar= y/UnitTestLib.h index 71c205b1b143..e9c4e23a7d43 100644 --- a/MdePkg/Include/Library/UnitTestLib.h +++ b/MdePkg/Include/Library/UnitTestLib.h @@ -755,7 +755,7 @@ UnitTestAssertNotNull ( is either pass, skipped, or failed. @param[in] FunctionName Null-terminated ASCII string of the functi= on executing the UT_EXPECT_ASSERT_FAILURE() m= acro. - @param[in] LineNumber The source file line number of the the fun= ction + @param[in] LineNumber The source file line number of the functio= n executing the UT_EXPECT_ASSERT_FAILURE() m= acro. @param[in] FileName Null-terminated ASCII string of the filena= me executing the UT_EXPECT_ASSERT_FAILURE() m= acro. diff --git a/MdePkg/Include/Pi/PiMmCis.h b/MdePkg/Include/Pi/PiMmCis.h index 01340952d89b..53269d1bf68e 100644 --- a/MdePkg/Include/Pi/PiMmCis.h +++ b/MdePkg/Include/Pi/PiMmCis.h @@ -289,7 +289,7 @@ struct _EFI_MM_SYSTEM_TABLE { /// =20 /// - /// A number between zero and and the NumberOfCpus field. This field d= esignates + /// A number between zero and the NumberOfCpus field. This field desig= nates /// which processor is executing the MM infrastructure. /// UINTN CurrentlyExecutingCpu; diff --git a/MdePkg/Include/Pi/PiSmmCis.h b/MdePkg/Include/Pi/PiSmmCis.h index bf5b580c3245..540603343ae2 100644 --- a/MdePkg/Include/Pi/PiSmmCis.h +++ b/MdePkg/Include/Pi/PiSmmCis.h @@ -144,7 +144,7 @@ struct _EFI_SMM_SYSTEM_TABLE2 { /// =20 /// - /// A number between zero and and the NumberOfCpus field. This field d= esignates + /// A number between zero and the NumberOfCpus field. This field desig= nates /// which processor is executing the SMM infrastructure. /// UINTN CurrentlyExecutingCpu; diff --git a/MdePkg/Include/Protocol/ComponentName.h b/MdePkg/Include/Pro= tocol/ComponentName.h index 46fa5e7ad8e5..da4bbddb8fb1 100644 --- a/MdePkg/Include/Protocol/ComponentName.h +++ b/MdePkg/Include/Protocol/ComponentName.h @@ -26,7 +26,7 @@ typedef struct _EFI_COMPONENT_NAME_PROTOCOL EFI_COMPONE= NT_NAME_PROTOCOL; =20 @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instan= ce. @param Language A pointer to a three-character ISO 639-2 language i= dentifier. - This is the language of the driver name that that t= he caller + This is the language of the driver name that the ca= ller is requesting, and it must match one of the languag= es specified in SupportedLanguages. The number of languages sup= ported by a driver is up to the driver writer. diff --git a/MdePkg/Include/Protocol/Smbios.h b/MdePkg/Include/Protocol/S= mbios.h index f9346aac7224..a10db6c43f22 100644 --- a/MdePkg/Include/Protocol/Smbios.h +++ b/MdePkg/Include/Protocol/Smbios.h @@ -174,7 +174,7 @@ EFI_STATUS @param[in] Type On entry, it points to the type of t= he next SMBIOS record to return. If NULL, it indicates that the next record of an= y type will be returned. Type is not modified by the this function. - @param[out] Record On exit, points to a pointer to the = the SMBIOS Record consisting of the formatted area + @param[out] Record On exit, points to a pointer to the = SMBIOS Record consisting of the formatted area followed by the unformatted area. Th= e unformatted area optionally contains text strings. @param[out] ProducerHandle On exit, points to the ProducerHandl= e registered by Add(). If no ProducerHandle was passed into Add()= NULL is returned. If a NULL pointer is diff --git a/MdePkg/Include/Uefi/UefiMultiPhase.h b/MdePkg/Include/Uefi/U= efiMultiPhase.h index 22bae43e36e8..df9fcd880f70 100644 --- a/MdePkg/Include/Uefi/UefiMultiPhase.h +++ b/MdePkg/Include/Uefi/UefiMultiPhase.h @@ -177,7 +177,7 @@ typedef struct { /// EFI_CERT_TYPE_RSA2048_SHA256_GUID. If the attribute specifies /// authenticated access, then the Data buffer should begin with an /// authentication descriptor prior to the data payload and DataSize -/// should reflect the the data.and descriptor size. The caller +/// should reflect the data.and descriptor size. The caller /// shall digest the Monotonic Count value and the associated data /// for the variable update using the SHA-256 1-way hash algorithm. /// The ensuing the 32-byte digest will be signed using the private diff --git a/MdePkg/Include/Uefi/UefiSpec.h b/MdePkg/Include/Uefi/UefiSpe= c.h index 2b38b100f6a5..acfd07eeaa5b 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -809,7 +809,7 @@ EFI_STATUS =20 @retval EFI_SUCCESS The operation completed successfully. @retval EFI_INVALID_PARAMETER A time field is out of range. - @retval EFI_DEVICE_ERROR The time could not be set due due to har= dware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardwar= e error. =20 **/ typedef diff --git a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c b/MdePkg/Li= brary/BaseDebugLibSerialPort/DebugLib.c index bd5686947712..2a8881637d45 100644 --- a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c +++ b/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c @@ -264,7 +264,7 @@ DebugClearMemory ( ASSERT (Buffer !=3D NULL); =20 // - // SetMem() checks for the the ASSERT() condition on Length and return= s Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Bu= ffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuided= SectionLib.c b/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuid= edSectionLib.c index e6f479b829f6..d364a406af71 100644 --- a/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSection= Lib.c +++ b/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSection= Lib.c @@ -144,7 +144,7 @@ ExtractGuidedSectionGetGuidList ( If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). =20 - @param[in] SectionGuid A pointer to the GUID associated with the t= he handlers + @param[in] SectionGuid A pointer to the GUID associated with the h= andlers of the GUIDed section type being registered= . @param[in] GetInfoHandler The pointer to a function that examines a G= UIDed section and returns the size of the decoded buffer and the size of = an optional scratch buffer @@ -224,7 +224,7 @@ ExtractGuidedSectionRegisterHandlers ( Examines a GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered th= rough ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supp= orts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supp= orts, then the associated handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER that was registered wi= th ExtractGuidedSectionRegisterHandlers() is used to retrieve the OututBufferSize, ScratchSize, and Attributes v= alues. The return status from the handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER is returned. @@ -318,7 +318,7 @@ ExtractGuidedSectionGetInfo ( Decodes the GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered th= rough ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supp= orts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supp= orts, then the associated handler of type EXTRACT_GUIDED_SECTION_DECODE_HANDLER that was registered with= ExtractGuidedSectionRegisterHandlers() is used to decode InputSection into the buffer specified by OutputBuff= er and the authentication status of this decode operation is returned in AuthenticationStatus. If the decoded = buffer is identical to the data in InputSection, diff --git a/MdePkg/Library/BaseS3StallLib/S3StallLib.c b/MdePkg/Library/= BaseS3StallLib/S3StallLib.c index ea886ca61cd3..6be227c5fb9a 100644 --- a/MdePkg/Library/BaseS3StallLib/S3StallLib.c +++ b/MdePkg/Library/BaseS3StallLib/S3StallLib.c @@ -17,7 +17,7 @@ #include =20 /** - Stalls the CPU for at least the given number of microseconds and and s= aves + Stalls the CPU for at least the given number of microseconds and saves the value in the S3 script to be replayed on S3 resume. =20 Stalls the CPU for the number of microseconds specified by MicroSecond= s. diff --git a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c b/Mde= Pkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c index 11d188d07ff6..8c201daf3914 100644 --- a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c +++ b/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c @@ -337,7 +337,7 @@ DebugClearMemory ( ASSERT (Buffer !=3D NULL); =20 // - // SetMem() checks for the the ASSERT() condition on Length and return= s Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Bu= ffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c b/MdePkg/Libr= ary/DxeServicesLib/DxeServicesLib.c index 8f5a15dedc9f..7a5c031a7daa 100644 --- a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c +++ b/MdePkg/Library/DxeServicesLib/DxeServicesLib.c @@ -347,7 +347,7 @@ Done: If Size is NULL, then ASSERT(). =20 =20 - @param NameGuid A pointer to to the FFS filename GUID to = search for + @param NameGuid A pointer to the FFS filename GUID to sea= rch for within any of the firmware volumes in the= platform. @param SectionType Indicates the FFS section type to search = for within the FFS file specified by NameGuid. @@ -470,7 +470,7 @@ Done: If Buffer is NULL, then ASSERT(). If Size is NULL, then ASSERT(). =20 - @param NameGuid A pointer to to the FFS filename GUID to = search for + @param NameGuid A pointer to the FFS filename GUID to sea= rch for within the firmware volumes that the curr= ently executing module was loaded from. @param SectionType Indicates the FFS section type to search = for within @@ -957,7 +957,7 @@ Finish: =20 If NameGuid is NULL, then ASSERT(). =20 - @param NameGuid A pointer to to the FFS filename GUID to= search for + @param NameGuid A pointer to the FFS filename GUID to se= arch for within any of the firmware volumes in th= e platform. @param SectionType Indicates the FFS section type to search= for within the FFS file specified by NameGuid. diff --git a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSe= ctionLib.c b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSe= ctionLib.c index c538f157a242..21c8b470ccf5 100644 --- a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLi= b.c +++ b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLi= b.c @@ -170,7 +170,7 @@ ExtractGuidedSectionGetGuidList ( If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). =20 - @param[in] SectionGuid A pointer to the GUID associated with the t= he handlers + @param[in] SectionGuid A pointer to the GUID associated with the h= andlers of the GUIDed section type being registered= . @param[in] GetInfoHandler The pointer to a function that examines a G= UIDed section and returns the size of the decoded buffer and the size of = an optional scratch buffer @@ -260,7 +260,7 @@ ExtractGuidedSectionRegisterHandlers ( Examines a GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered th= rough ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supp= orts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supp= orts, then the associated handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER that was registered wi= th ExtractGuidedSectionRegisterHandlers() is used to retrieve the OututBufferSize, ScratchSize, and Attributes v= alues. The return status from the handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER is returned. @@ -354,7 +354,7 @@ ExtractGuidedSectionGetInfo ( Decodes the GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered th= rough ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supp= orts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supp= orts, then the associated handler of type EXTRACT_GUIDED_SECTION_DECODE_HANDLER that was registered with= ExtractGuidedSectionRegisterHandlers() is used to decode InputSection into the buffer specified by OutputBuff= er and the authentication status of this decode operation is returned in AuthenticationStatus. If the decoded = buffer is identical to the data in InputSection, diff --git a/MdePkg/Library/SmmIoLib/SmmIoLib.c b/MdePkg/Library/SmmIoLib= /SmmIoLib.c index ad4bfff68c8a..90fbdde96f98 100644 --- a/MdePkg/Library/SmmIoLib/SmmIoLib.c +++ b/MdePkg/Library/SmmIoLib/SmmIoLib.c @@ -1,7 +1,7 @@ /** @file Instance of SMM IO check library. =20 - SMM IO check library library implementation. This library consumes GCD= to collect all valid + SMM IO check library implementation. This library consumes GCD to coll= ect all valid IO space defined by a platform. A platform may have its own SmmIoLib instance to exclude more IO space= . =20 diff --git a/MdePkg/Library/SmmIoLib/SmmIoLib.inf b/MdePkg/Library/SmmIoL= ib/SmmIoLib.inf index 5f7356de5d7a..d195afe0a0e1 100644 --- a/MdePkg/Library/SmmIoLib/SmmIoLib.inf +++ b/MdePkg/Library/SmmIoLib/SmmIoLib.inf @@ -1,7 +1,7 @@ ## @file # Instance of SMM IO check library. # -# SMM IO check library library implementation. This library consumes GC= D to collect all valid +# SMM IO check library implementation. This library consumes GCD to col= lect all valid # IO space defined by a platform. # A platform may have its own SmmIoLib instance to exclude more IO spac= e. # diff --git a/MdePkg/Library/SmmIoLib/SmmIoLib.uni b/MdePkg/Library/SmmIoL= ib/SmmIoLib.uni index d46bc0a7f9d8..fcce039b4aec 100644 --- a/MdePkg/Library/SmmIoLib/SmmIoLib.uni +++ b/MdePkg/Library/SmmIoLib/SmmIoLib.uni @@ -1,7 +1,7 @@ // /** @file // Instance of SMM IO check library. // -// SMM IO check library library implementation. This library consumes G= CD to collect all valid +// SMM IO check library implementation. This library consumes GCD to co= llect all valid // IO space defined by a platform. // A platform may have its own SmmIoLib instance to exclude more IO spa= ce. // @@ -14,5 +14,5 @@ =20 #string STR_MODULE_ABSTRACT #language en-US "Instance of SMM= IO check library." =20 -#string STR_MODULE_DESCRIPTION #language en-US "SMM IO check li= brary library implementation. This library consumes GCD to collect all va= lid IO space defined by a platform. A platform may have its own SmmIoLib = instance to exclude more IO space." +#string STR_MODULE_DESCRIPTION #language en-US "SMM IO check li= brary implementation. This library consumes GCD to collect all valid IO s= pace defined by a platform. A platform may have its own SmmIoLib instance= to exclude more IO space." =20 diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.c b/MdePkg/Library/SmmMem= Lib/SmmMemLib.c index ef087d0f050b..0eae5d2ed5e0 100644 --- a/MdePkg/Library/SmmMemLib/SmmMemLib.c +++ b/MdePkg/Library/SmmMemLib/SmmMemLib.c @@ -1,7 +1,7 @@ /** @file Instance of SMM memory check library. =20 - SMM memory check library library implementation. This library consumes= SMM_ACCESS2_PROTOCOL + SMM memory check library implementation. This library consumes SMM_ACC= ESS2_PROTOCOL to get SMRAM information. In order to use this library instance, the p= latform should produce all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for firm= ware (like SMM Core and SMM driver) and/or specific dedicated hardware. diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.inf b/MdePkg/Library/SmmM= emLib/SmmMemLib.inf index bc30057d772f..f53e81acb9c2 100644 --- a/MdePkg/Library/SmmMemLib/SmmMemLib.inf +++ b/MdePkg/Library/SmmMemLib/SmmMemLib.inf @@ -1,7 +1,7 @@ ## @file # Instance of SMM memory check library. # -# SMM memory check library library implementation. This library consume= s SMM_ACCESS2_PROTOCOL +# SMM memory check library implementation. This library consumes SMM_AC= CESS2_PROTOCOL # to get SMRAM information. In order to use this library instance, the = platform should produce # all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for fir= mware (like SMM Core # and SMM driver) and/or specific dedicated hardware. diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.uni b/MdePkg/Library/SmmM= emLib/SmmMemLib.uni index f1d678344055..3d553884376e 100644 --- a/MdePkg/Library/SmmMemLib/SmmMemLib.uni +++ b/MdePkg/Library/SmmMemLib/SmmMemLib.uni @@ -1,7 +1,7 @@ // /** @file // SMM memory check library. // -// SMM memory check library library implementation. This library consume= s SMM_ACCESS2_PROTOCOL +// SMM memory check library implementation. This library consumes SMM_AC= CESS2_PROTOCOL // to get SMRAM information. In order to use this library instance, the = platform should produce // all SMRAM range via SMM_ACCESS2_PROTOCOL, including the range for fir= mware (like SMM Core // and SMM driver) and/or specific dedicated hardware. @@ -15,5 +15,5 @@ =20 #string STR_MODULE_ABSTRACT #language en-US "SMM memory chec= k library" =20 -#string STR_MODULE_DESCRIPTION #language en-US "SMM memory chec= k library library implementation. This library consumes SMM_ACCESS2_PROTO= COL to get SMRAM information. In order to use this library instance, the = platform should produce all SMRAM range via SMM_ACCESS2_PROTOCOL, includi= ng the range for firmware (like SMM Core and SMM driver) and/or specific = dedicated hardware." +#string STR_MODULE_DESCRIPTION #language en-US "SMM memory chec= k library implementation. This library consumes SMM_ACCESS2_PROTOCOL to g= et SMRAM information. In order to use this library instance, the platform= should produce all SMRAM range via SMM_ACCESS2_PROTOCOL, including the r= ange for firmware (like SMM Core and SMM driver) and/or specific dedicate= d hardware." =20 diff --git a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c b/MdePk= g/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c index ff143f00ab9a..1b293565b0a9 100644 --- a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c +++ b/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c @@ -240,7 +240,7 @@ LookupPeriodicSmiLibraryHandler ( } =20 // - // Search the periodic SMI handler entries for a a matching DispatchHa= ndle + // Search the periodic SMI handler entries for a matching DispatchHand= le // for ( Link =3D GetFirstNode (&gPeriodicSmiLibraryHandlers) ; !IsNull (&gPeriodicSmiLibraryHandlers, Link) @@ -353,7 +353,7 @@ EnlargeFreePeriodicSmiLibraryHandlerList ( SMI handler. If no free entries are available, then additional entries are allocated. =20 - @retval NULL There are not enough resources available to to allocat= e a free entry. + @retval NULL There are not enough resources available to allocate a= free entry. @retval other Pointer to a free PERIODIC_SMI_LIBRARY_HANDLER_CONTEXT= structure. =20 **/ diff --git a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriv= erEntryPoint.c b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMm= DriverEntryPoint.c index ff1c53b185ac..11ba5d5a36ae 100644 --- a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntry= Point.c +++ b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntry= Point.c @@ -81,8 +81,8 @@ _DriverUnloadHandler ( EFI_STATUS EFIAPI _ModuleEntryPoint ( - IN EFI_HANDLE ImageHandle, - IN IN EFI_MM_SYSTEM_TABLE *MmSystemTable + IN EFI_HANDLE ImageHandle, + IN EFI_MM_SYSTEM_TABLE *MmSystemTable ) { EFI_STATUS Status; diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c b/MdePkg/Librar= y/UefiDebugLibConOut/DebugLib.c index 65c8dc2b4654..ac8b46d670d7 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLib.c @@ -264,7 +264,7 @@ DebugClearMemory ( ASSERT (Buffer !=3D NULL); =20 // - // SetMem() checks for the the ASSERT() condition on Length and return= s Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Bu= ffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c b/Md= ePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c index c25199b53fcf..f61113c739f8 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c @@ -318,7 +318,7 @@ DebugClearMemory ( ASSERT (Buffer !=3D NULL); =20 // - // SetMem() checks for the the ASSERT() condition on Length and return= s Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Bu= ffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c b/MdePkg/Librar= y/UefiDebugLibStdErr/DebugLib.c index 5b28cd10ae21..9bbac56ea5b0 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c @@ -264,7 +264,7 @@ DebugClearMemory ( ASSERT (Buffer !=3D NULL); =20 // - // SetMem() checks for the the ASSERT() condition on Length and return= s Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Bu= ffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf b/M= dePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf index 5ecb971a0ac5..3a4fc15525a5 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf +++ b/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf @@ -1,7 +1,7 @@ ## @file # Instance of Debug Library using the Standard Error Device. # -# Debug Lib that sends messages to the the Standard Error Device in the= EFI System Table. +# Debug Lib that sends messages to the Standard Error Device in the EFI= System Table. # # Copyright (c) 2018, Microsoft Corporation # diff --git a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.uni b/M= dePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.uni index 1748fb3ff0b0..e6d0cca70224 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.uni +++ b/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.uni @@ -1,7 +1,7 @@ // /** @file // Instance of Debug Library using the Standard Error Device. // -// Debug Lib that sends messages to the the Standard Error Device in the= EFI System Table. +// Debug Lib that sends messages to the Standard Error Device in the EFI= System Table. // // Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved. // diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c b/Mde= Pkg/Library/UefiDevicePathLib/DevicePathUtilities.c index 5ee3e9a31f48..ce76bc8ff97b 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c @@ -36,7 +36,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST EFI_DEVICE_PATH_PRO= TOCOL mUefiDevicePathLib @retval TRUE DevicePath is valid. @retval FALSE DevicePath is NULL. @retval FALSE Maxsize is less than sizeof(EFI_DEVICE_PATH_PROTOC= OL). - @retval FALSE The length of any node node in the DevicePath is l= ess + @retval FALSE The length of any node in the DevicePath is less than sizeof (EFI_DEVICE_PATH_PROTOCOL). @retval FALSE If MaxSize is not zero, the size of the DevicePath exceeds MaxSize. diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevic= ePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevic= ePathLib.c index 4ff9308a68fe..5cc30397a3a1 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLi= b.c +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLi= b.c @@ -76,7 +76,7 @@ DevicePathLibConstructor ( @param MaxSize The maximum size of the device path data structure= . =20 @retval TRUE DevicePath is valid. - @retval FALSE The length of any node node in the DevicePath is l= ess + @retval FALSE The length of any node in the DevicePath is less than sizeof (EFI_DEVICE_PATH_PROTOCOL). @retval FALSE If MaxSize is not zero, the size of the DevicePath exceeds MaxSize. diff --git a/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c b/MdePk= g/Library/UefiFileHandleLib/UefiFileHandleLib.c index 86678e965d99..f1a07c4fbde3 100644 --- a/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c +++ b/MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.c @@ -954,9 +954,9 @@ FileHandleReturnLine ( @param[in, out] Buffer The pointer to buffer to read into. @param[in, out] Size The pointer to number of bytes in Buffe= r. @param[in] Truncate If the buffer is large enough, this has= no effect. - If the buffer is is too small and Trunc= ate is TRUE, + If the buffer is too small and Truncate= is TRUE, the line will be truncated. - If the buffer is is too small and Trunc= ate is FALSE, + If the buffer is too small and Truncate= is FALSE, then no read will occur. =20 @param[in, out] Ascii Boolean value for indicating whether th= e file is diff --git a/MdePkg/Library/UefiLib/Console.c b/MdePkg/Library/UefiLib/Co= nsole.c index c37e3d0f5810..a5425740a42c 100644 --- a/MdePkg/Library/UefiLib/Console.c +++ b/MdePkg/Library/UefiLib/Console.c @@ -413,7 +413,7 @@ CreatePopUp ( CHAR16 *TmpString; =20 // - // Determine the length of the longest line in the popup and the the t= otal + // Determine the length of the longest line in the popup and the total // number of lines in the popup // VA_START (Args, Key); diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/Ue= fiLib.c index 95d0319d3a33..c26cb0b6eb08 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -517,7 +517,7 @@ EfiReleaseLock ( =20 This function tests whether the driver specified by DriverBindingHandl= e is currently managing the controller specified by ControllerHandle. This= test - is performed by evaluating if the the protocol specified by ProtocolGu= id is + is performed by evaluating if the protocol specified by ProtocolGuid i= s present on ControllerHandle and is was opened by DriverBindingHandle w= ith an attribute of EFI_OPEN_PROTOCOL_BY_DRIVER. If ProtocolGuid is NULL, then ASSERT(). diff --git a/MdePkg/Test/UnitTest/Library/BaseLib/Base64UnitTest.c b/MdeP= kg/Test/UnitTest/Library/BaseLib/Base64UnitTest.c index 9f2d2bd9e6ff..cdcca4df8074 100644 --- a/MdePkg/Test/UnitTest/Library/BaseLib/Base64UnitTest.c +++ b/MdePkg/Test/UnitTest/Library/BaseLib/Base64UnitTest.c @@ -164,7 +164,7 @@ RfcEncodeTest ( b64String =3D Btc->TestOutput; =20 // - // Only testing the the translate functionality, so preallocate the pr= oper + // Only testing the translate functionality, so preallocate the proper // string buffer. // =20 @@ -248,7 +248,7 @@ RfcDecodeTest ( binString =3D Btc->TestOutput; =20 // - // Only testing the the translate functionality + // Only testing the translate functionality // =20 b64StringLen =3D AsciiStrnLenS (b64String, MAX_TEST_STRING_SIZE); --=20 2.25.1