From nobody Mon Feb 9 04:44:59 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+53974+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+53974+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 1581041545573158.68716710342562; Thu, 6 Feb 2020 18:12:25 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id pgGwYY1788612xVCRxb0VvHZ; Thu, 06 Feb 2020 18:12:25 -0800 X-Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web09.7186.1581041544586387252 for ; Thu, 06 Feb 2020 18:12:24 -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-422-2qR4ALIrNuWYxT3I5vI4fQ-1; Thu, 06 Feb 2020 21:12:19 -0500 X-Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A3B5918A5500; Fri, 7 Feb 2020 02:12:18 +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 9516F60BEC; Fri, 7 Feb 2020 02:12:17 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Laszlo Ersek , Eric Dong Subject: [edk2-devel] [PATCH v3 72/78] SourceLevelDebugPkg/DebugCommunicationLib: Fix various typos Date: Fri, 7 Feb 2020 02:08:25 +0100 Message-Id: <20200207010831.9046-73-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.12 X-MC-Unique: 2qR4ALIrNuWYxT3I5vI4fQ-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: yDaSQ4WOBEnIuMX96A0PD3l3x1787277AA= 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=1581041545; bh=ExMjBKrETp/u96ESUc48B3cFh7A4623zCF4CZBZuq0c=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=GOSPCsfbEXSWAa5ErDPUg942bJuPNHuu47G7pcMJiuLzr0DRBjEcxKTGKKAznTYUD6+ XMfTocJCViT0s+yOAphxwsXoMNCeNfunbJQ/nGudSe3BE83KJBEPDMv9gb/o47Ujwiysh r/DGeSPmylLzCqlw812pG5Vp+udwwwBTkJM= X-ZohoMail-DKIM: pass (identity @groups.io) From: Antoine Coeur Fix various typos in comments and documentation. Cc: Hao A Wu Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Hao A Wu Signed-off-by: Philippe Mathieu-Daude --- .../DebugCommunicationLibSerialPort.inf | 2 +- SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h | 2 +- .../DebugCommunicationLibUsb3Internal.h | 4 ++-- .../DebugCommunicationLibSerialPort.c | 2 +- .../DebugCommunicationLibUsb3Common.c | 2 +- .../DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c | 2 +- .../DebugCommunicationLibUsb3Transfer.c | 4 ++-- .../DebugCommunicationLibSerialPort.uni | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/De= bugCommunicationLibSerialPort.inf b/SourceLevelDebugPkg/Library/DebugCommun= icationLibSerialPort/DebugCommunicationLibSerialPort.inf index 668e0bef178e..21af18cfb0b0 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.inf +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.inf @@ -1,5 +1,5 @@ ## @file -# Debug Communication Library instance based on serila port. +# Debug Communication Library instance based on serial port. # # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
# diff --git a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h b/= SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h index bc7a00b537c7..73e0f19f92a9 100644 --- a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h +++ b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h @@ -30,7 +30,7 @@ VOID /** Initialize the debug port. =20 - This function will initialize debug port to get it ready for data transm= ition. If + This function will initialize debug port to get it ready for data transm= ission. If certain Debug Communication Library instance has to save some private da= ta in the stack, this function must work on the mode that doesn't return to the ca= ller, then the caller needs to wrap up all rest of logic after DebugPortInitialize(= ) into one diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCom= municationLibUsb3Internal.h b/SourceLevelDebugPkg/Library/DebugCommunicatio= nLibUsb3/DebugCommunicationLibUsb3Internal.h index 72ed2c74162f..df50220f33dc 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Internal.h +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Internal.h @@ -85,7 +85,7 @@ #define XHC_DEBUG_PORT_ON_OFF_DELAY 100000 =20 // -// USB debug device string descritpor (header size + unicode string length) +// USB debug device string descriptor (header size + unicode string length) // #define STRING0_DESC_LEN 4 #define MANU_DESC_LEN 12 @@ -680,7 +680,7 @@ USB3InitializeReal ( @param Direction The direction of data transfer. @param Data Array of pointers to the buffers of data t= o transmit from or receive into. - @param DataLength The lenght of the data buffer. + @param DataLength The length of the data buffer. @param Timeout Indicates the maximum time, in millisecond= , which the transfer is allowed to complete. =20 diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/De= bugCommunicationLibSerialPort.c b/SourceLevelDebugPkg/Library/DebugCommunic= ationLibSerialPort/DebugCommunicationLibSerialPort.c index 604c7e6d52ce..045026508e80 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.c @@ -15,7 +15,7 @@ /** Initialize the debug port. =20 - This function will initialize debug port to get it ready for data transm= ition. If + This function will initialize debug port to get it ready for data transm= ission. If certain Debug Communication Library instance has to save some private da= ta in the stack, this function must work on the mode that doesn't return to the ca= ller, then the caller needs to wrap up all rest of logic after DebugPortInitialize(= ) into one diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCom= municationLibUsb3Common.c b/SourceLevelDebugPkg/Library/DebugCommunicationL= ibUsb3/DebugCommunicationLibUsb3Common.c index 4e49a7437f8b..d76314a42ae6 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Common.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Common.c @@ -162,7 +162,7 @@ XhcClearDebugRegBit ( } =20 /** - Program and eanble XHCI MMIO base address. + Program and enable XHCI MMIO base address. =20 @return XHCI MMIO base address. =20 diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCom= municationLibUsb3Dxe.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibU= sb3/DebugCommunicationLibUsb3Dxe.c index d4245465ce74..d2ff2d52a70f 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Dxe.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Dxe.c @@ -25,7 +25,7 @@ EFI_PCI_IO_PROTOCOL *mUsb3PciIo =3D NULL; /** Creates a named event that can be signaled. =20 - This function creates an event using NotifyTpl, NoifyFunction. + This function creates an event using NotifyTpl, NotifyFunction. If Name is NULL, then ASSERT(). If NotifyTpl is not a legal TPL value, then ASSERT(). If NotifyFunction is NULL, then ASSERT(). diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCom= municationLibUsb3Transfer.c b/SourceLevelDebugPkg/Library/DebugCommunicatio= nLibUsb3/DebugCommunicationLibUsb3Transfer.c index a3e3c134d8f1..262cfab3fbb4 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Transfer.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Transfer.c @@ -152,7 +152,7 @@ XhcCheckNewEvent ( =20 EvtRing->EventRingDequeue +=3D sizeof (TRB_TEMPLATE); // - // If the dequeue pointer is beyond the ring, then roll-back it to the b= egining of the ring. + // If the dequeue pointer is beyond the ring, then roll-back it to the b= eginning of the ring. // if ((UINTN)EvtRing->EventRingDequeue >=3D ((UINTN) EvtRing->EventRingSeg= 0 + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) { EvtRing->EventRingDequeue =3D EvtRing->EventRingSeg0; @@ -510,7 +510,7 @@ XhcCreateUrb ( @param Direction The direction of data transfer. @param Data Array of pointers to the buffers of data t= o transmit from or receive into. - @param DataLength The lenght of the data buffer. + @param DataLength The length of the data buffer. @param Timeout Indicates the maximum time, in microsecond= , which the transfer is allowed to complete. =20 diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/De= bugCommunicationLibSerialPort.uni b/SourceLevelDebugPkg/Library/DebugCommun= icationLibSerialPort/DebugCommunicationLibSerialPort.uni index f8e46fcfaef8..4bea6d51e032 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.uni +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.uni @@ -1,5 +1,5 @@ // /** @file -// Debug Communication Library instance based on serila port. +// Debug Communication Library instance based on serial port. // // Debug Communication Library instance based on serial port. // --=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 (#53974): https://edk2.groups.io/g/devel/message/53974 Mute This Topic: https://groups.io/mt/71041236/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-