From nobody Mon Feb 9 09:33:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+53922+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+53922+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1581037761134351.1870568959572; Thu, 6 Feb 2020 17:09:21 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id wDPuYY1788612xTf7HYpopLu; Thu, 06 Feb 2020 17:09:20 -0800 X-Received: from us-smtp-delivery-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.81]) by mx.groups.io with SMTP id smtpd.web11.6437.1581037760119087746 for ; Thu, 06 Feb 2020 17:09:20 -0800 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-41-oYIPTT0XPpqiP7uIUvRoUA-1; Thu, 06 Feb 2020 20:09:16 -0500 X-Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C288F1835A0E; Fri, 7 Feb 2020 01:09:15 +0000 (UTC) X-Received: from x1w.redhat.com (ovpn-204-120.brq.redhat.com [10.40.204.120]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B1A615C1BB; Fri, 7 Feb 2020 01:09:14 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [edk2-devel] [PATCH v3 24/78] MdePkg/Library/Dxe: Fix various typos Date: Fri, 7 Feb 2020 02:07:37 +0100 Message-Id: <20200207010831.9046-25-philmd@redhat.com> In-Reply-To: <20200207010831.9046-1-philmd@redhat.com> References: <20200207010831.9046-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-MC-Unique: oYIPTT0XPpqiP7uIUvRoUA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: 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,philmd@redhat.com X-Gm-Message-State: 8fDYDXZXbKIcoPTWioJVvlN8x1787277AA= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1581037760; bh=24crB3cU6XvFBatVuU5rXFX/CjZxYAUqIVDM4ntHcTU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=MP7tWWeSkwcY7NKrKS01B6i0/lWPqZd8Oz4t5hfQ5sjHPzyz1z/3EWszLbcWhSV8yek 9DqVlNSH2I/T3jotcqYBz2UhXc0lv3txHd/IjDp3DxFp5UEjCP3MTl3qdfBTDZiSVRQE+ tT5nsy9V+EFJ7OadVIIRVcHPwv48vL3WLbs= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in documentation, comments and strings, and remove the duplicated 'the'. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Michael D Kinney Reviewed-by: Liming Gao Signed-off-by: Philippe Mathieu-Daude --- MdePkg/Library/DxePcdLib/DxePcdLib.inf | 2 +- MdePkg/Include/Library/DxeServicesLib.h | 2 +- .../DxeExtractGuidedSectionLib.c | 10 +++++----- MdePkg/Library/DxeHobLib/HobLib.c | 2 +- MdePkg/Library/DxeIoLibCpuIo2/IoLib.c | 2 +- .../Library/DxeRuntimePciExpressLib/PciExpressLib.c | 6 +++--- MdePkg/Library/DxeServicesLib/DxeServicesLib.c | 12 ++++++------ .../DxeServicesTableLib/DxeServicesTableLib.c | 2 +- MdePkg/Library/DxeSmbusLib/DxeSmbusLib.c | 2 +- MdePkg/Library/DxePcdLib/DxePcdLib.uni | 2 +- 10 files changed, 21 insertions(+), 21 deletions(-) diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.inf b/MdePkg/Library/DxePcd= Lib/DxePcdLib.inf index c3f67543a4b7..3d4d21b442b4 100644 --- a/MdePkg/Library/DxePcdLib/DxePcdLib.inf +++ b/MdePkg/Library/DxePcdLib/DxePcdLib.inf @@ -16,7 +16,7 @@ # Note: A driver of type DXE_RUNTIME_DRIVER and DXE_SMM_DRIVER can only us= e this DxePcdLib # in their initialization without any issues to access Dynamic and Dynami= cEx PCD. They can't # access Dynamic and DynamicEx PCD in the implementation of runtime servi= ces and SMI handlers. -# Because EFI_PCD_PROTOCOL is DXE protocol that is not aviable in OS runt= ime phase. +# Because EFI_PCD_PROTOCOL is DXE protocol that is not available in OS ru= ntime phase. # # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
# diff --git a/MdePkg/Include/Library/DxeServicesLib.h b/MdePkg/Include/Libra= ry/DxeServicesLib.h index 838abf356fdd..689f47a54fa1 100644 --- a/MdePkg/Include/Library/DxeServicesLib.h +++ b/MdePkg/Include/Library/DxeServicesLib.h @@ -171,7 +171,7 @@ GetSectionFromFv ( =20 =20 /** - Searches the FFS file the the currently executing module was loaded from= and returns the first matching FFS section. + Searches the FFS file the currently executing module was loaded from and= returns the first matching FFS section. =20 This function searches the FFS file that the currently executing module = was loaded from for a FFS sections of type SectionType. If the FFS file contains at least SectionInstance instances of the FFS s= ection specified by SectionType, diff --git a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSect= ionLib.c b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectio= nLib.c index 4dfe450be9bc..ef730ec55159 100644 --- a/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c +++ b/MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.c @@ -150,7 +150,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 the= handlers + @param[in] SectionGuid A pointer to the GUID associated with the han= dlers of the GUIDed section type being registered. @param[in] GetInfoHandler The pointer to a function that examines a GUI= Ded section and returns the size of the decoded buffer and the size of an= optional scratch buffer @@ -231,9 +231,9 @@ ExtractGuidedSectionRegisterHandlers ( Examines a GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered thro= ugh ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler suppor= ts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler suppor= ts, 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 val= ues. The return status from the handler of + is used to retrieve the OutputBufferSize, ScratchSize, and Attributes va= lues. The return status from the handler of type EXTRACT_GUIDED_SECTION_GET_INFO_HANDLER is returned. =20 If InputSection is NULL, then ASSERT(). @@ -311,7 +311,7 @@ ExtractGuidedSectionGetInfo ( Decodes the GUIDed section specified by InputSection. If GUID for InputSection does not match any of the GUIDs registered thro= ugh ExtractGuidedSectionRegisterHandlers(), then RETURN_UNSUPPORTED is returned. - If the GUID of InputSection does match the GUID that this handler suppor= ts, then the the associated handler + If the GUID of InputSection does match the GUID that this handler suppor= ts, then the associated handler of type EXTRACT_GUIDED_SECTION_DECODE_HANDLER that was registered with E= xtractGuidedSectionRegisterHandlers() 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 bu= ffer is identical to the data in InputSection, @@ -397,7 +397,7 @@ ExtractGuidedSectionDecode ( =20 If SectionGuid is NULL, then ASSERT(). =20 - @param[in] SectionGuid A pointer to the GUID associated with the han= dlersof the GUIDed + @param[in] SectionGuid A pointer to the GUID associated with the han= dlers of the GUIDed section type being retrieved. @param[out] GetInfoHandler Pointer to a function that examines a GUIDed = section and returns the size of the decoded buffer and the size o= f an optional scratch diff --git a/MdePkg/Library/DxeHobLib/HobLib.c b/MdePkg/Library/DxeHobLib/H= obLib.c index bf2470f6e278..ffac638d1806 100644 --- a/MdePkg/Library/DxeHobLib/HobLib.c +++ b/MdePkg/Library/DxeHobLib/HobLib.c @@ -1,5 +1,5 @@ /** @file - HOB Library implemenation for Dxe Phase. + HOB Library implementation for Dxe Phase. =20 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent diff --git a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c b/MdePkg/Library/DxeIoLi= bCpuIo2/IoLib.c index b37e7a299e8a..21f88d98527c 100644 --- a/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c +++ b/MdePkg/Library/DxeIoLibCpuIo2/IoLib.c @@ -11,7 +11,7 @@ #include "DxeCpuIo2LibInternal.h" =20 // -// Globle varible to cache pointer to CpuIo2 protocol. +// Global variable to cache pointer to CpuIo2 protocol. // EFI_CPU_IO2_PROTOCOL *mCpuIo =3D NULL; =20 diff --git a/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c b/MdePk= g/Library/DxeRuntimePciExpressLib/PciExpressLib.c index 7e5852e641db..b8995435109f 100644 --- a/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c +++ b/MdePkg/Library/DxeRuntimePciExpressLib/PciExpressLib.c @@ -298,7 +298,7 @@ PciExpressRegisterForRuntimeAccess ( Address =3D GetPciExpressAddress (Address & 0x0ffff000); =20 // - // See if Address has already been registerd for runtime access + // See if Address has already been registered for runtime access // for (Index =3D 0; Index < mDxeRuntimePciExpressLibNumberOfRuntimeRanges;= Index++) { if (mDxeRuntimePciExpressLibRegistrationTable[Index].PhysicalAddress = =3D=3D Address) { @@ -1456,7 +1456,7 @@ PciExpressBitFieldAndThenOr32 ( Size into the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be read. Size is returned. When possible 32-bit PCI configuration read cycles are used to= read - from StartAdress to StartAddress + Size. Due to alignment restrictions, = 8-bit + from StartAddress to StartAddress + Size. Due to alignment restrictions,= 8-bit and 16-bit PCI configuration read cycles may be used at the beginning an= d the end of the range. =20 @@ -1559,7 +1559,7 @@ PciExpressReadBuffer ( Size from the buffer specified by Buffer. This function only allows the = PCI configuration registers from a single PCI function to be written. Size is returned. When possible 32-bit PCI configuration write cycles are used to - write from StartAdress to StartAddress + Size. Due to alignment restrict= ions, + write from StartAddress to StartAddress + Size. Due to alignment restric= tions, 8-bit and 16-bit PCI configuration write cycles may be used at the begin= ning and the end of the range. =20 diff --git a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c b/MdePkg/Librar= y/DxeServicesLib/DxeServicesLib.c index 0735b2f80400..3e3bbf605533 100644 --- a/MdePkg/Library/DxeServicesLib/DxeServicesLib.c +++ b/MdePkg/Library/DxeServicesLib/DxeServicesLib.c @@ -25,7 +25,7 @@ /** Identify the device handle from which the Image is loaded from. As this = device handle is passed to GetSectionFromFv as the identifier for a Firmware Volume, an EFI_FIRMWAR= E_VOLUME2_PROTOCOL - protocol instance should be located succesfully by calling gBS->HandlePr= otocol (). + protocol instance should be located successfully by calling gBS->HandleP= rotocol (). =20 This function locates the EFI_LOADED_IMAGE_PROTOCOL instance installed on ImageHandle. It then returns EFI_LOADED_IMAGE_PROTOCOL.DeviceHandle. @@ -71,7 +71,7 @@ InternalImageHandleToFvHandle ( Section type and instance number from the specified Firmware Volume. =20 This functions first locate the EFI_FIRMWARE_VOLUME2_PROTOCOL protocol i= nstance on FvHandle in order to - carry out the Firmware Volume read operation. The function then reads th= e Firmware Section found sepcifed + carry out the Firmware Volume read operation. The function then reads th= e Firmware Section found specified by NameGuid, SectionType and SectionInstance. =20 The details of this search order is defined in description of EFI_FIRMWA= RE_VOLUME2_PROTOCOL.ReadSection () @@ -94,7 +94,7 @@ InternalImageHandleToFvHandle ( @param SectionType The Firmware Section type. @param SectionInstance The instance number of Firmware Section = to read from starting from 0. - @param Buffer On output, Buffer contains the the data = read + @param Buffer On output, Buffer contains the data read from the section in the Firmware File fo= und. @param Size On output, the size of Buffer. =20 @@ -517,7 +517,7 @@ GetSectionFromFv ( =20 =20 /** - Searches the FFS file the the currently executing module was loaded from= and returns the first matching FFS section. + Searches the FFS file the currently executing module was loaded from and= returns the first matching FFS section. =20 This function searches the FFS file that the currently executing module = was loaded from for a FFS sections of type SectionType. If the FFS file contains at least SectionInstance instances of the FFS s= ection specified by SectionType, @@ -597,7 +597,7 @@ GetSectionFromFfs ( selection. If FALSE, then FilePath= must match an exact file to be loaded. @param[in] FilePath The pointer to the device path of = the file - that is absracted to the file buff= er. + that is abstracted to the file buf= fer. @param[out] FileSize The pointer to the size of the abs= tracted file buffer. @param[out] AuthenticationStatus Pointer to the authentication stat= us. @@ -745,7 +745,7 @@ GetFileBufferByFilePath ( } // // Parse each MEDIA_FILEPATH_DP node. There may be more than one, = since the - // directory information and filename can be seperate. The goal is= to inch + // directory information and filename can be separate. The goal is= to inch // our way down each device path node and close the previous node // DevicePathNode =3D TempDevicePathNode; diff --git a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c b/Mde= Pkg/Library/DxeServicesTableLib/DxeServicesTableLib.c index 6783e4d75489..9acb1b79b391 100644 --- a/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c +++ b/MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.c @@ -9,7 +9,7 @@ Please attention this library instance can not be used util EFI_SYSTEM_T= ABLE was initialized. =20 - This library contains contruct function to retrieve EFI_DXE_SERIVCE, thi= s construct + This library contains construct function to retrieve EFI_DXE_SERVICE, th= is construct function will be invoked in DXE driver's autogen file. =20 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
diff --git a/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.c b/MdePkg/Library/DxeS= mbusLib/DxeSmbusLib.c index f6e3d4508f47..d9cca7eb5fa8 100644 --- a/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.c +++ b/MdePkg/Library/DxeSmbusLib/DxeSmbusLib.c @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 =20 // -// Globle varible to cache pointer to Smbus protocol. +// Global variable to cache pointer to Smbus protocol. // EFI_SMBUS_HC_PROTOCOL *mSmbus =3D NULL; =20 diff --git a/MdePkg/Library/DxePcdLib/DxePcdLib.uni b/MdePkg/Library/DxePcd= Lib/DxePcdLib.uni index 889f427e5ffd..c48aea35db95 100644 --- a/MdePkg/Library/DxePcdLib/DxePcdLib.uni +++ b/MdePkg/Library/DxePcdLib/DxePcdLib.uni @@ -22,5 +22,5 @@ =20 #string STR_MODULE_ABSTRACT #language en-US "PCD Library using= PCD Protocol" =20 -#string STR_MODULE_DESCRIPTION #language en-US "There are two PCD= protocols: 1) PCD_PROTOCOL It is an EDKII implementation that supporst Dyn= amic/DynamicEx PCDs. 2) EFI_PCD_PROTOCOL It is defined by PI Specification = 1.2, Vol 3, which only support dynamicEx type PCD. For dynamicEx type PCDs= , it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL. This library= instance uses the PCD_PROTOCOL to handle dynamic PCD requests and uses EFI= _PCD_PROTOCOL to handle DynamicEx type PCDs." +#string STR_MODULE_DESCRIPTION #language en-US "There are two PCD= protocols: 1) PCD_PROTOCOL It is an EDKII implementation that supports Dyn= amic/DynamicEx PCDs. 2) EFI_PCD_PROTOCOL It is defined by PI Specification = 1.2, Vol 3, which only support dynamicEx type PCD. For dynamicEx type PCDs= , it is compatible between PCD_PROTOCOL and EFI_PCD_PROTOCOL. This library= instance uses the PCD_PROTOCOL to handle dynamic PCD requests and uses EFI= _PCD_PROTOCOL to handle DynamicEx type PCDs." =20 --=20 2.21.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 (#53922): https://edk2.groups.io/g/devel/message/53922 Mute This Topic: https://groups.io/mt/71039554/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-