From nobody Tue Feb 10 06:06:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+94709+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94709+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1664896783; cv=none; d=zohomail.com; s=zohoarc; b=XJ7V263lQ0FNvl4yI48FhLU4MgiqMQhAkUnyxQfnn8GvUzp6IAcI2K4LKSsbp/QOFNd77zYkD2APShr0N3BMIEKwm9uKOFgzicA7KATyYkCBPMEHrNXKXIkhdvYZwYFBFipzOkCzNSuC9rRrBPFIYxO8Y7BlwxdalrhtCzgkO9I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1664896783; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=7u2YBTGMCarzGcJixbg+DI8E4rnCZZMCWmHYM139lx8=; b=SyvTI6rEOJoKvTdKNSLob7JpsD6eLIXLdJ9unT5AtKz7PkJM5q61wytxq9tU5Q+O69VF5i0pKYzc22Vt39Wwh+G5DH2q9IQd1kFt45yzSrJjmE85pRIXQFfFkgrn+aerA02iUfNIaEIeUk05+Vbd+C3yRO9gaXl2K6RFVCv3OTU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+94709+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1664896783039653.4226693719279; Tue, 4 Oct 2022 08:19:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 3H1JYY1788612xqfNCss2Tsk; Tue, 04 Oct 2022 08:19:41 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web12.12048.1664896780834860185 for ; Tue, 04 Oct 2022 08:19:40 -0700 X-Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id E755B20E6F43; Tue, 4 Oct 2022 08:19:39 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E755B20E6F43 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Hao A Wu , Michael D Kinney Subject: [edk2-devel] [PATCH v1 1/3] SourceLevelDebugPkg: Fix spelling errors Date: Tue, 4 Oct 2022 11:18:56 -0400 Message-Id: <20221004151858.870-2-mikuback@linux.microsoft.com> In-Reply-To: <20221004151858.870-1-mikuback@linux.microsoft.com> References: <20221004151858.870-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,mikuback@linux.microsoft.com X-Gm-Message-State: 80Xgov6YxpNlXvM78Ufawh23x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1664896781; bh=XO/8GfJ2mXtAWQzwCKfqdMEVMPZB+gxFgBgSyhjUDVw=; h=Cc:Date:From:Reply-To:Subject:To; b=bYNBpsl7G+1sGvyW2wst0y+RgT/bDZKVvYyd4OisEOIWpcgaqeHk0162AfTE0dflLTo gSJutqwwXpXan7NZDSnpcRu9kC9N0t44ypX1gbXweRxIuaG6IAR+riMayaYtyiNYeumNw uLvNEoRWNDnCaoLesnSVWkMaqCMdWJe83js= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1664896783495100002 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D4091 Fixes spelling errors in the package so the SpellCheck CI plugin can be enabled. Cc: Hao A Wu Cc: Michael D Kinney Signed-off-by: Michael Kubacki --- SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c = | 8 +++---- SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c = | 22 ++++++++++---------- SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunica= tionLibSerialPort.c | 2 +- SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicationLib= Usb.c | 2 +- SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandlerFuncs= .c | 2 +- SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandlerFuncs.= c | 2 +- SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h = | 2 +- SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h = | 2 +- SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLi= bUsb3Internal.h | 2 +- SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLib= .h | 2 +- 10 files changed, 23 insertions(+), 23 deletions(-) diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugA= gent.c b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent= .c index a1e61a6ef90e..b553a2a9aa0c 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c @@ -1,5 +1,5 @@ /** @file - Commond Debug Agent library implementation. It mainly includes + Common Debug Agent library implementation. It mainly includes the first C function called by exception/interrupt handlers, read/write debug packet to communication with HOST based on transfer protocol. @@ -608,7 +608,7 @@ DebugAgentDataMsgPrint ( } =20 /** - Read remaing debug packet except for the start symbol + Read remaining debug packet except for the start symbol =20 @param[in] Handle Pointer to Debug Port handle. @param[in, out] DebugHeader Debug header buffer including start symbol. @@ -616,7 +616,7 @@ DebugAgentDataMsgPrint ( @retval EFI_SUCCESS Read the symbol in BreakSymbol. @retval EFI_CRC_ERROR CRC check fail. @retval EFI_TIMEOUT Timeout occurs when reading debug packet. - @retval EFI_DEVICE_ERROR Receive the old or responsed packet. + @retval EFI_DEVICE_ERROR Receive the old or response packet. =20 **/ EFI_STATUS @@ -651,7 +651,7 @@ ReadRemainingBreakPacket ( if (IS_REQUEST (DebugHeader)) { if (DebugHeader->SequenceNo =3D=3D (UINT8)(Mailbox->HostSequenceNo + 1= )) { // - // Only updagte HostSequenceNo for new command packet + // Only update HostSequenceNo for new command packet // UpdateMailboxContent (Mailbox, DEBUG_MAILBOX_HOST_SEQUENCE_NO_INDEX,= DebugHeader->SequenceNo); return EFI_SUCCESS; diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.= c b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c index 6661275cc343..97d30c802df4 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c +++ b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c @@ -213,10 +213,10 @@ SERIAL_IO_DEVICE_PATH mSerialIoDevicePath =3D { } }; =20 -#define DEBGU_SERIAL_IO_FIFO_DEPTH 10 +#define DEBUG_SERIAL_IO_FIFO_DEPTH 10 // // Data buffer for Terminal input character and Debug Symbols. -// The depth is DEBGU_SERIAL_IO_FIFO_DEPTH. +// The depth is DEBUG_SERIAL_IO_FIFO_DEPTH. // Fields: // First UINT8: The index of the first data in array Data[]. // Last UINT8: The index, which you can put a new data into array = Data[]. @@ -227,7 +227,7 @@ typedef struct { UINT8 First; UINT8 Last; UINT8 Surplus; - UINT8 Data[DEBGU_SERIAL_IO_FIFO_DEPTH]; + UINT8 Data[DEBUG_SERIAL_IO_FIFO_DEPTH]; } DEBUG_SERIAL_FIFO; =20 // @@ -236,10 +236,10 @@ typedef struct { EFI_HANDLE mSerialIoHandle =3D NULL; UINTN mLoopbackBuffer =3D 0; DEBUG_SERIAL_FIFO mSerialFifoForTerminal =3D { - 0, 0, DEBGU_SERIAL_IO_FIFO_DEPTH, { 0 } + 0, 0, DEBUG_SERIAL_IO_FIFO_DEPTH, { 0 } }; DEBUG_SERIAL_FIFO mSerialFifoForDebug =3D { - 0, 0, DEBGU_SERIAL_IO_FIFO_DEPTH, { 0 } + 0, 0, DEBUG_SERIAL_IO_FIFO_DEPTH, { 0 } }; =20 /** @@ -251,11 +251,11 @@ DEBUG_SERIAL_FIFO mSerialFifoForDebug =3D { =20 **/ BOOLEAN -IsDebugTermianlFifoEmpty ( +IsDebugTerminalFifoEmpty ( IN DEBUG_SERIAL_FIFO *Fifo ) { - if (Fifo->Surplus =3D=3D DEBGU_SERIAL_IO_FIFO_DEPTH) { + if (Fifo->Surplus =3D=3D DEBUG_SERIAL_IO_FIFO_DEPTH) { return TRUE; } =20 @@ -313,7 +313,7 @@ DebugTerminalFifoAdd ( Fifo->Data[Fifo->Last] =3D Data; Fifo->Surplus--; Fifo->Last++; - if (Fifo->Last =3D=3D DEBGU_SERIAL_IO_FIFO_DEPTH) { + if (Fifo->Last =3D=3D DEBUG_SERIAL_IO_FIFO_DEPTH) { Fifo->Last =3D 0; } =20 @@ -339,7 +339,7 @@ DebugTerminalFifoRemove ( // // if FIFO is empty, no data can remove // - if (IsDebugTermianlFifoEmpty (Fifo)) { + if (IsDebugTerminalFifoEmpty (Fifo)) { return EFI_OUT_OF_RESOURCES; } =20 @@ -349,7 +349,7 @@ DebugTerminalFifoRemove ( *Data =3D Fifo->Data[Fifo->First]; Fifo->Surplus++; Fifo->First++; - if (Fifo->First =3D=3D DEBGU_SERIAL_IO_FIFO_DEPTH) { + if (Fifo->First =3D=3D DEBUG_SERIAL_IO_FIFO_DEPTH) { Fifo->First =3D 0; } =20 @@ -532,7 +532,7 @@ SerialGetControl ( // Check to see if the Terminal FIFO is empty and // check to see if the input buffer in the Debug Communication Library i= s empty // - if (!IsDebugTermianlFifoEmpty (&mSerialFifoForTerminal) || DebugPortPoll= Buffer (Handle)) { + if (!IsDebugTerminalFifoEmpty (&mSerialFifoForTerminal) || DebugPortPoll= Buffer (Handle)) { *Control &=3D ~EFI_SERIAL_INPUT_BUFFER_EMPTY; } =20 diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/De= bugCommunicationLibSerialPort.c b/SourceLevelDebugPkg/Library/DebugCommunic= ationLibSerialPort/DebugCommunicationLibSerialPort.c index 34c269e6b527..9953904725ac 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugComm= unicationLibSerialPort.c @@ -70,7 +70,7 @@ DebugPortInitialize ( } =20 /** - Read data from debug device and save the datas in buffer. + Read data from debug device and save the data in a buffer. =20 Reads NumberOfBytes data bytes from a debug device into the buffer specified by Buffer. The number of bytes actually read is returned. diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugComm= unicationLibUsb.c b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/De= bugCommunicationLibUsb.c index 479757f5bae2..da55f3e69ef0 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicati= onLibUsb.c +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunicati= onLibUsb.c @@ -768,7 +768,7 @@ InitializeUsbDebugHardware ( } =20 /** - Read data from debug device and save the datas in buffer. + Read data from debug device and save the data in a buffer. =20 Reads NumberOfBytes data bytes from a debug device into the buffer specified by Buffer. The number of bytes actually read is returned. diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/Int= HandlerFuncs.c b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32= /IntHandlerFuncs.c index 600bde10d656..3e6db0db8679 100644 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler= Funcs.c +++ b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler= Funcs.c @@ -15,7 +15,7 @@ @param[in] InterruptType Interrupt type. =20 @retval TRUE IDT entries were setup by Debug Agent. - @retval FALSE IDT entries were not setuo by Debug Agent. + @retval FALSE IDT entries were not setup by Debug Agent. =20 **/ BOOLEAN diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntH= andlerFuncs.c b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/I= ntHandlerFuncs.c index 952285a8eac0..1baa88206b06 100644 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandlerF= uncs.c +++ b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandlerF= uncs.c @@ -15,7 +15,7 @@ @param[in] InterruptType Interrupt type. =20 @retval TRUE IDT entries were setup by Debug Agent. - @retval FALSE IDT entries were not setuo by Debug Agent. + @retval FALSE IDT entries were not setup by Debug Agent. =20 **/ BOOLEAN diff --git a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h b/= SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h index ad7bccda285c..ebb2168632da 100644 --- a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h +++ b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h @@ -71,7 +71,7 @@ DebugPortInitialize ( ); =20 /** - Read data from debug device and save the datas in buffer. + Read data from debug device and save the data in a buffer. =20 Reads NumberOfBytes data bytes from a debug device into the buffer specified by Buffer. The number of bytes actually read is returned. diff --git a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugA= gent.h b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent= .h index a0ede308efee..4c72f8f3a90c 100644 --- a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h +++ b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h @@ -452,7 +452,7 @@ DebugAgentDataMsgPrint ( ); =20 /** - Read remaing debug packet except for the start symbol + Read remaining debug packet except for the start symbol =20 @param[in] Handle Pointer to Debug Port handle. @param[in, out] DebugHeader Debug header buffer including start symbol. diff --git a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCom= municationLibUsb3Internal.h b/SourceLevelDebugPkg/Library/DebugCommunicatio= nLibUsb3/DebugCommunicationLibUsb3Internal.h index c73233ea49b0..cc5f294f334d 100644 --- a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Internal.h +++ b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicat= ionLibUsb3Internal.h @@ -586,7 +586,7 @@ XhcWriteDebugReg ( /** Verifies if the bit positions specified by a mask are set in a register. =20 - @param[in, out] Register UNITN register + @param[in, out] Register UINTN register @param[in] BitMask 32-bit mask =20 @return BOOLEAN - TRUE if all bits specified by the mask are enabled. diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffEx= traActionLib.h b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCo= ffExtraActionLib.h index 149186b226f4..f428af963231 100644 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActi= onLib.h +++ b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActi= onLib.h @@ -34,7 +34,7 @@ extern UINTN AsmInterruptHandle; @param[in] InterruptType Interrupt type. =20 @retval TRUE IDT entries were setup by Debug Agent. - @retval FALSE IDT entries were not setuo by Debug Agent. + @retval FALSE IDT entries were not setup by Debug Agent. =20 **/ BOOLEAN --=20 2.28.0.windows.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 (#94709): https://edk2.groups.io/g/devel/message/94709 Mute This Topic: https://groups.io/mt/94115853/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-