From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.120]) by mx.groups.io with SMTP id smtpd.web09.2282.1578046382918138546 for ; Fri, 03 Jan 2020 02:13:03 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dGtBjHKQ; spf=pass (domain: redhat.com, ip: 207.211.31.120, mailfrom: philmd@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578046382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/DofT+BECRhszxzdcVcyL74JYex3Y1oZCNFZX+WnjNM=; b=dGtBjHKQUmciET/V84FnmuCJQnRanREohrxyKp0L9dFyuwB5GshS/j3PAePZevRTm4SXYF ML8tjXZdGGFBPbh1cyvoPDJxh7Q0PmGxPvgdE6knmCMTaySWoiutSCqn4AFbA9nNnqEXKx HuHuc3g3zkeCj1o9CYAwHCht8Bz4DnA= 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-427-ofL2vABtPT26aAP8EoMYaQ-1; Fri, 03 Jan 2020 05:13:00 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 590DA477; Fri, 3 Jan 2020 10:12:59 +0000 (UTC) Received: from x1w.redhat.com (ovpn-116-190.ams2.redhat.com [10.36.116.190]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 52DA484663; Fri, 3 Jan 2020 10:12:56 +0000 (UTC) From: =?UTF-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= To: devel@edk2.groups.io Cc: Antoine Coeur , Hao A Wu , Philippe Mathieu-Daude Subject: [PATCH v2 72/78] SourceLevelDebugPkg/DebugCommunicationLib: Fix various typos Date: Fri, 3 Jan 2020 10:08:06 +0100 Message-Id: <20200103090812.10592-73-philmd@redhat.com> In-Reply-To: <20200103090812.10592-1-philmd@redhat.com> References: <20200103090812.10592-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-MC-Unique: ofL2vABtPT26aAP8EoMYaQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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.0