From: Pierre Gondois <pierre.gond...@arm.com> In an effort to clean the documentation of the above package, remove duplicated words.
Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Signed-off-by: Pierre Gondois <pierre.gond...@arm.com> --- 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 @par Revision Reference: - This HOB is introduced in in PI Version 1.4. + This HOB is introduced in PI Version 1.4. **/ diff --git a/MdePkg/Include/Library/DevicePathLib.h b/MdePkg/Include/Library/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_PROTOCOL). - @retval FALSE The length of any node node in the DevicePath is less + @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/Library/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(). - @param NameGuid A pointer to to the FFS filename GUID to search for + @param NameGuid A pointer to the FFS filename GUID to search 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(). - @param NameGuid A pointer to to the FFS filename GUID to search for + @param NameGuid A pointer to the FFS filename GUID to search for within the firmware volumes that the currently executing module was loaded from. @param SectionType Indicates the FFS section type to search for within @@ -269,7 +269,7 @@ GetFileBufferByFilePath ( If NameGuid is NULL, then ASSERT(). - @param NameGuid A pointer to to the FFS filename GUID to search for + @param NameGuid A pointer to the FFS filename GUID to search 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. diff --git a/MdePkg/Include/Library/ExtractGuidedSectionLib.h b/MdePkg/Include/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(). - @param[in] SectionGuid A pointer to the GUID associated with the the handlers + @param[in] SectionGuid A pointer to the GUID associated with the handlers of the GUIDed section type being registered. @param[in] GetInfoHandler Pointer to a function that examines a GUIDed 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 through ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supports, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supports, then the associated handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER that was registered with ExtractGuidedSectionRegisterHandlers() is used to retrieve the OututBufferSize, ScratchSize, and Attributes values. 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 through ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supports, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supports, 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 OutputBuffer 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/Library/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 Buffer. @param[in] Truncate If the buffer is large enough, this has no effect. - If the buffer is is too small and Truncate 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 Truncate is FALSE, + If the buffer is too small and Truncate is FALSE, then no read will occur. @param[in, out] Ascii Boolean value for indicating whether the 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 the 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/UefiLib.h index be7da7fdf7da..54af95459cee 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -406,7 +406,7 @@ EfiReleaseLock ( This function tests whether the driver specified by DriverBindingHandle is currently managing the controller specified by ControllerHandle. This test - is performed by evaluating if the the protocol specified by ProtocolGuid is + is performed by evaluating if the protocol specified by ProtocolGuid is present on ControllerHandle and is was opened by DriverBindingHandle with 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/Library/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 function executing the UT_EXPECT_ASSERT_FAILURE() macro. - @param[in] LineNumber The source file line number of the the function + @param[in] LineNumber The source file line number of the function executing the UT_EXPECT_ASSERT_FAILURE() macro. @param[in] FileName Null-terminated ASCII string of the filename executing the UT_EXPECT_ASSERT_FAILURE() macro. 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 { /// /// - /// A number between zero and and the NumberOfCpus field. This field designates + /// A number between zero and the NumberOfCpus field. This field designates /// 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 { /// /// - /// A number between zero and and the NumberOfCpus field. This field designates + /// A number between zero and the NumberOfCpus field. This field designates /// which processor is executing the SMM infrastructure. /// UINTN CurrentlyExecutingCpu; diff --git a/MdePkg/Include/Protocol/ComponentName.h b/MdePkg/Include/Protocol/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_COMPONENT_NAME_PROTOCOL; @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param Language A pointer to a three-character ISO 639-2 language identifier. - This is the language of the driver name that that the caller + This is the language of the driver name that the caller is requesting, and it must match one of the languages specified in SupportedLanguages. The number of languages supported by a driver is up to the driver writer. diff --git a/MdePkg/Include/Protocol/Smbios.h b/MdePkg/Include/Protocol/Smbios.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 the next SMBIOS record to return. If NULL, it indicates that the next record of any 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. The unformatted area optionally contains text strings. @param[out] ProducerHandle On exit, points to the ProducerHandle 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/UefiMultiPhase.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/UefiSpec.h index 2b38b100f6a5..acfd07eeaa5b 100644 --- a/MdePkg/Include/Uefi/UefiSpec.h +++ b/MdePkg/Include/Uefi/UefiSpec.h @@ -809,7 +809,7 @@ EFI_STATUS @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 hardware error. + @retval EFI_DEVICE_ERROR The time could not be set due to hardware error. **/ typedef diff --git a/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c b/MdePkg/Library/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 != NULL); // - // SetMem() checks for the the ASSERT() condition on Length and returns Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Buffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.c b/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.c index e6f479b829f6..d364a406af71 100644 --- a/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.c +++ b/MdePkg/Library/BaseExtractGuidedSectionLib/BaseExtractGuidedSectionLib.c @@ -144,7 +144,7 @@ ExtractGuidedSectionGetGuidList ( If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). - @param[in] SectionGuid A pointer to the GUID associated with the the handlers + @param[in] SectionGuid A pointer to the GUID associated with the handlers of the GUIDed section type being registered. @param[in] GetInfoHandler The pointer to a function that examines a GUIDed 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 through ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supports, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supports, then the associated handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER that was registered with ExtractGuidedSectionRegisterHandlers() is used to retrieve the OututBufferSize, ScratchSize, and Attributes values. 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 through ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supports, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supports, 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 OutputBuffer 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 <Library/S3StallLib.h> /** - Stalls the CPU for at least the given number of microseconds and and saves + 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. Stalls the CPU for the number of microseconds specified by MicroSeconds. diff --git a/MdePkg/Library/DxeRuntimeDebugLibSerialPort/DebugLib.c b/MdePkg/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 != NULL); // - // SetMem() checks for the the ASSERT() condition on Length and returns Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Buffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c b/MdePkg/Library/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(). - @param NameGuid A pointer to to the FFS filename GUID to search for + @param NameGuid A pointer to the FFS filename GUID to search 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(). - @param NameGuid A pointer to to the FFS filename GUID to search for + @param NameGuid A pointer to the FFS filename GUID to search for within the firmware volumes that the currently executing module was loaded from. @param SectionType Indicates the FFS section type to search for within @@ -957,7 +957,7 @@ Finish: If NameGuid is NULL, then ASSERT(). - @param NameGuid A pointer to to the FFS filename GUID to search for + @param NameGuid A pointer to the FFS filename GUID to search 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. diff --git a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c index c538f157a242..21c8b470ccf5 100644 --- a/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c +++ b/MdePkg/Library/PeiExtractGuidedSectionLib/PeiExtractGuidedSectionLib.c @@ -170,7 +170,7 @@ ExtractGuidedSectionGetGuidList ( If GetInfoHandler is NULL, then ASSERT(). If DecodeHandler is NULL, then ASSERT(). - @param[in] SectionGuid A pointer to the GUID associated with the the handlers + @param[in] SectionGuid A pointer to the GUID associated with the handlers of the GUIDed section type being registered. @param[in] GetInfoHandler The pointer to a function that examines a GUIDed 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 through ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supports, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supports, then the associated handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER that was registered with ExtractGuidedSectionRegisterHandlers() is used to retrieve the OututBufferSize, ScratchSize, and Attributes values. 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 through ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler supports, then the the associated handler + If the GUID of InputSection does match the GUID that this handler supports, 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 OutputBuffer 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. - SMM IO check library library implementation. This library consumes GCD to collect all valid + SMM IO check library implementation. This library consumes GCD to collect all valid IO space defined by a platform. A platform may have its own SmmIoLib instance to exclude more IO space. diff --git a/MdePkg/Library/SmmIoLib/SmmIoLib.inf b/MdePkg/Library/SmmIoLib/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 GCD to collect all valid +# SMM IO check library implementation. This library consumes GCD to collect all valid # IO space defined by a platform. # A platform may have its own SmmIoLib instance to exclude more IO space. # diff --git a/MdePkg/Library/SmmIoLib/SmmIoLib.uni b/MdePkg/Library/SmmIoLib/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 GCD to collect all valid +// SMM IO check library implementation. This library consumes GCD to collect all valid // IO space defined by a platform. // A platform may have its own SmmIoLib instance to exclude more IO space. // @@ -14,5 +14,5 @@ #string STR_MODULE_ABSTRACT #language en-US "Instance of SMM IO check library." -#string STR_MODULE_DESCRIPTION #language en-US "SMM IO check library library implementation. This library consumes GCD to collect all valid 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 library implementation. This library consumes GCD to collect all valid IO space defined by a platform. A platform may have its own SmmIoLib instance to exclude more IO space." diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.c b/MdePkg/Library/SmmMemLib/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. - SMM memory check library library implementation. This library consumes SMM_ACCESS2_PROTOCOL + SMM memory check library implementation. This library consumes SMM_ACCESS2_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 firmware (like SMM Core and SMM driver) and/or specific dedicated hardware. diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.inf b/MdePkg/Library/SmmMemLib/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 consumes SMM_ACCESS2_PROTOCOL +# SMM memory check library implementation. This library consumes SMM_ACCESS2_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 firmware (like SMM Core # and SMM driver) and/or specific dedicated hardware. diff --git a/MdePkg/Library/SmmMemLib/SmmMemLib.uni b/MdePkg/Library/SmmMemLib/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 consumes SMM_ACCESS2_PROTOCOL +// SMM memory check library implementation. This library consumes SMM_ACCESS2_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 firmware (like SMM Core // and SMM driver) and/or specific dedicated hardware. @@ -15,5 +15,5 @@ #string STR_MODULE_ABSTRACT #language en-US "SMM memory check library" -#string STR_MODULE_DESCRIPTION #language en-US "SMM memory check library library implementation. This library consumes SMM_ACCESS2_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 firmware (like SMM Core and SMM driver) and/or specific dedicated hardware." +#string STR_MODULE_DESCRIPTION #language en-US "SMM memory check library implementation. This library consumes SMM_ACCESS2_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 firmware (like SMM Core and SMM driver) and/or specific dedicated hardware." diff --git a/MdePkg/Library/SmmPeriodicSmiLib/SmmPeriodicSmiLib.c b/MdePkg/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 ( } // - // Search the periodic SMI handler entries for a a matching DispatchHandle + // Search the periodic SMI handler entries for a matching DispatchHandle // for ( Link = GetFirstNode (&gPeriodicSmiLibraryHandlers) ; !IsNull (&gPeriodicSmiLibraryHandlers, Link) @@ -353,7 +353,7 @@ EnlargeFreePeriodicSmiLibraryHandlerList ( SMI handler. If no free entries are available, then additional entries are allocated. - @retval NULL There are not enough resources available to to allocate 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. **/ diff --git a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c index ff1c53b185ac..11ba5d5a36ae 100644 --- a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c +++ b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.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/Library/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 != NULL); // - // SetMem() checks for the the ASSERT() condition on Length and returns Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Buffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLib.c b/MdePkg/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 != NULL); // - // SetMem() checks for the the ASSERT() condition on Length and returns Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Buffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLib.c b/MdePkg/Library/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 != NULL); // - // SetMem() checks for the the ASSERT() condition on Length and returns Buffer + // SetMem() checks for the ASSERT() condition on Length and returns Buffer // return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); } diff --git a/MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf b/MdePkg/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/MdePkg/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.<BR> // diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c b/MdePkg/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_PROTOCOL mUefiDevicePathLib @retval TRUE DevicePath is valid. @retval FALSE DevicePath is NULL. @retval FALSE Maxsize is less than sizeof(EFI_DEVICE_PATH_PROTOCOL). - @retval FALSE The length of any node node in the DevicePath is less + @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/UefiDevicePathLib.c b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c index 4ff9308a68fe..5cc30397a3a1 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLib.c @@ -76,7 +76,7 @@ DevicePathLibConstructor ( @param MaxSize The maximum size of the device path data structure. @retval TRUE DevicePath is valid. - @retval FALSE The length of any node node in the DevicePath is less + @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/MdePkg/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 Buffer. @param[in] Truncate If the buffer is large enough, this has no effect. - If the buffer is is too small and Truncate 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 Truncate is FALSE, + If the buffer is too small and Truncate is FALSE, then no read will occur. @param[in, out] Ascii Boolean value for indicating whether the file is diff --git a/MdePkg/Library/UefiLib/Console.c b/MdePkg/Library/UefiLib/Console.c index c37e3d0f5810..a5425740a42c 100644 --- a/MdePkg/Library/UefiLib/Console.c +++ b/MdePkg/Library/UefiLib/Console.c @@ -413,7 +413,7 @@ CreatePopUp ( CHAR16 *TmpString; // - // Determine the length of the longest line in the popup and the the total + // 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/UefiLib.c index 95d0319d3a33..c26cb0b6eb08 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -517,7 +517,7 @@ EfiReleaseLock ( This function tests whether the driver specified by DriverBindingHandle is currently managing the controller specified by ControllerHandle. This test - is performed by evaluating if the the protocol specified by ProtocolGuid is + is performed by evaluating if the protocol specified by ProtocolGuid is present on ControllerHandle and is was opened by DriverBindingHandle with 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/MdePkg/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 = Btc->TestOutput; // - // Only testing the the translate functionality, so preallocate the proper + // Only testing the translate functionality, so preallocate the proper // string buffer. // @@ -248,7 +248,7 @@ RfcDecodeTest ( binString = Btc->TestOutput; // - // Only testing the the translate functionality + // Only testing the translate functionality // b64StringLen = AsciiStrnLenS (b64String, MAX_TEST_STRING_SIZE); -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#92695): https://edk2.groups.io/g/devel/message/92695 Mute This Topic: https://groups.io/mt/93207398/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-