From: "Wu, Hao A" <hao.a.wu@intel.com>
To: Philippe Mathieu-Daude <philmd@redhat.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: Antoine Coeur <coeur@gmx.fr>
Subject: Re: [PATCH 72/79] SourceLevelDebugPkg/DebugAgent: Fix various typos
Date: Wed, 4 Dec 2019 01:03:26 +0000 [thread overview]
Message-ID: <B80AF82E9BFB8E4FBD8C89DA810C6A093C96F192@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <20191203161602.15969-73-philmd@redhat.com>
> -----Original Message-----
> From: Philippe Mathieu-Daude [mailto:philmd@redhat.com]
> Sent: Wednesday, December 04, 2019 12:16 AM
> To: devel@edk2.groups.io
> Cc: Antoine Coeur; Wu, Hao A; Philippe Mathieu-Daude
> Subject: [PATCH 72/79] SourceLevelDebugPkg/DebugAgent: Fix various typos
>
> From: Antoine Coeur <coeur@gmx.fr>
>
> Fix various typos in documentation, comments and debug strings.
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Best Regards,
Hao Wu
>
> Cc: Hao A Wu <hao.a.wu@intel.com>
> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
> ---
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.h
> | 6 +--
>
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/ArchDe
> bugSupport.h | 2 +-
>
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/DebugE
> xception.h | 2 +-
>
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchDeb
> ugSupport.h | 2 +-
>
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/DebugEx
> ception.h | 2 +-
> SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c |
> 2 +-
> SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c | 2
> +-
>
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.
> c | 52 ++++++++++----------
>
> SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLi
> b.c | 2 +-
> SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c
> | 6 +--
>
> SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAg
> entLib.c | 10 ++--
>
> SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgent
> Lib.c | 10 ++--
>
> SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmFun
> cs.nasm | 4 +-
> 13 files changed, 51 insertions(+), 51 deletions(-)
>
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.
> h
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.
> h
> index 71d7802d1548..07ddccad335d 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.
> h
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugMp.
> h
> @@ -17,7 +17,7 @@ typedef struct {
> } DEBUG_CPU_DATA;
>
> typedef struct {
> - SPIN_LOCK MpContextSpinLock; ///< Lock for writting MP context
> + SPIN_LOCK MpContextSpinLock; ///< Lock for writing MP context
> SPIN_LOCK DebugPortSpinLock; ///< Lock for access debug port
> SPIN_LOCK MailboxSpinLock; ///< Lock for accessing mail box
> UINT8 CpuBreakMask[DEBUG_CPU_MAX_COUNT/8]; ///<
> Bitmask of all breaking CPUs
> @@ -26,8 +26,8 @@ typedef struct {
> UINT32 BspIndex; ///< Processor index value of BSP
> UINT32 BreakAtCpuIndex; ///< Processor index value of the
> current breaking CPU
> UINT32 DebugTimerInitCount; ///< Record BSP's init timer count
> - BOOLEAN IpiSentByAp; ///< TRUR: IPI is sent by AP. TALSE: IPI
> is sent by BSP
> - BOOLEAN RunCommandSet; ///< TRUE: RUN commmand is
> executing. FALSE : RUN command has been executed.
> + BOOLEAN IpiSentByAp; ///< TRUE: IPI is sent by AP. FALSE: IPI
> is sent by BSP
> + BOOLEAN RunCommandSet; ///< TRUE: RUN command is
> executing. FALSE: RUN command has been executed.
> } DEBUG_MP_CONTEXT;
>
> extern DEBUG_MP_CONTEXT volatile mDebugMpContext;
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Arch
> DebugSupport.h
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Arch
> DebugSupport.h
> index d816bdaecdbe..3acb0352bf76 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Arch
> DebugSupport.h
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Arch
> DebugSupport.h
> @@ -1,5 +1,5 @@
> /** @file
> - IA32 specific defintions for debug agent library instance.
> + IA32 specific definitions for debug agent library instance.
>
> Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Debu
> gException.h
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Debu
> gException.h
> index 750b3e4724eb..9147fabe6c3e 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Debu
> gException.h
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/Debu
> gException.h
> @@ -1,5 +1,5 @@
> /** @file
> - Exception defintions.
> + Exception definitions.
>
> Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchD
> ebugSupport.h
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchD
> ebugSupport.h
> index 4ee12b771e9c..1e45941a9927 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchD
> ebugSupport.h
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/ArchD
> ebugSupport.h
> @@ -1,5 +1,5 @@
> /** @file
> - X64 specific defintions for debug agent library instance.
> + X64 specific definitions for debug agent library instance.
>
> Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/Debug
> Exception.h
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/Debug
> Exception.h
> index 750b3e4724eb..9147fabe6c3e 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/Debug
> Exception.h
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/X64/Debug
> Exception.h
> @@ -1,5 +1,5 @@
> /** @file
> - Exception defintions.
> + Exception definitions.
>
> Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> diff --git a/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c
> b/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c
> index 7ed4edb810a1..33fc9f3646dc 100644
> --- a/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c
> +++ b/SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c
> @@ -41,7 +41,7 @@ DisableDebugTimerExitBootService (
> @param[in] SystemTable A pointer to the EFI System Table.
>
> @retval EFI_SUCCESS The entry point is executed successfully.
> - @retval other Some error occurs when initialzed Debug Agent.
> + @retval other Some error occurs when initialized Debug Agent.
>
> **/
> EFI_STATUS
> diff --git a/SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c
> b/SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c
> index 4ef1945cd88e..fc2a8f75abf7 100644
> --- a/SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c
> +++ b/SourceLevelDebugPkg/DebugAgentPei/DebugAgentPei.c
> @@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
> @param[in] PeiServices Pointer to PEI Services Table
>
> @retval EFI_SUCCESS Debug Agent successfully initialized.
> - @retval other Some error occurs when initialzed Debug Agent.
> + @retval other Some error occurs when initialized Debug Agent.
>
> **/
> EFI_STATUS
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAge
> nt.c
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAge
> nt.c
> index 3ab4a81589c8..8021437ca903 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAge
> nt.c
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAge
> nt.c
> @@ -1,5 +1,5 @@
> /** @file
> - Commond Debug Agent library implementition. It mainly includes
> + Commond 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.
> @@ -594,7 +594,7 @@ DebugAgentDataMsgPrint (
> Index ++;
> if (Index >= Length) {
> //
> - // The last character of debug message has been foramtted in buffer
> + // The last character of debug message has been formatted in buffer
> //
> DestBuffer += AsciiSPrint(DestBuffer,
> DEBUG_DATA_MAXIMUM_REAL_DATA - (DestBuffer - Buffer), "]\n");
> SendDebugMsgPacket (Buffer, DestBuffer - Buffer);
> @@ -723,7 +723,7 @@ SetDebugSetting (
> }
>
> /**
> - Exectue GO command.
> + Execute GO command.
>
> @param[in] CpuContext Pointer to saved CPU context.
>
> @@ -1081,12 +1081,12 @@ DecompressDataInPlace (
> @param[out] IncompatibilityFlag If IncompatibilityFlag is not NULL, return
> TRUE: Compatible packet received.
> FALSE: Incompatible packet received.
> - @param[in] Timeout Time out value to wait for acknowlege from
> HOST.
> + @param[in] Timeout Time out value to wait for acknowledge from
> HOST.
> The unit is microsecond.
> @param[in] SkipStartSymbol TRUE: Skip time out when reading start
> symbol.
> FALSE: Does not Skip time out when reading start symbol.
>
> - @retval RETURN_SUCCESS A valid package was reveived in InputPacket.
> + @retval RETURN_SUCCESS A valid package was received in InputPacket.
> @retval RETURN_TIMEOUT Timeout occurs.
>
> **/
> @@ -1190,17 +1190,17 @@ ReceivePacket (
> Receive acknowledge packet OK from HOST in specified time.
>
> @param[in] Command The command type issued by TARGET.
> - @param[in] Timeout Time out value to wait for acknowlege from
> HOST.
> + @param[in] Timeout Time out value to wait for acknowledge from
> HOST.
> The unit is microsecond.
> @param[out] BreakReceived If BreakReceived is not NULL,
> - TRUE is retured if break-in symbol received.
> - FALSE is retured if break-in symbol not received.
> + TRUE is returned if break-in symbol received.
> + FALSE is returned if break-in symbol not received.
> @param[out] IncompatibilityFlag If IncompatibilityFlag is not NULL, return
> TRUE: Compatible packet received.
> FALSE: Incompatible packet received.
>
> - @retval RETRUEN_SUCCESS Succeed to receive acknowlege packet from
> HOST,
> - the type of acknowlege packet saved in Ack.
> + @retval RETURN_SUCCESS Succeed to receive acknowledge packet from
> HOST,
> + the type of acknowledge packet saved in Ack.
> @retval RETURN_TIMEOUT Specified timeout value was up.
>
> **/
> @@ -1497,7 +1497,7 @@ CompressData (
> }
>
> /**
> - Read memory with speicifed width and send packet with response data to
> HOST.
> + Read memory with specified width and send packet with response data to
> HOST.
>
> @param[in] Data Pointer to response data buffer.
> @param[in] Count The number of data with specified Width.
> @@ -1669,16 +1669,16 @@ SendDataResponsePacket (
> Try to attach the HOST.
>
> Send init break packet to HOST:
> - If no acknowlege received in specified Timeout, return RETURN_TIMEOUT.
> - If received acknowlege, check the revision of HOST.
> + If no acknowledge received in specified Timeout, return RETURN_TIMEOUT.
> + If received acknowledge, check the revision of HOST.
> Set Attach Flag if attach successfully.
>
> @param[in] BreakCause Break cause of this break event.
> - @param[in] Timeout Time out value to wait for acknowlege from HOST.
> + @param[in] Timeout Time out value to wait for acknowledge from
> HOST.
> The unit is microsecond.
> @param[out] BreakReceived If BreakReceived is not NULL,
> - TRUE is retured if break-in symbol received.
> - FALSE is retured if break-in symbol not received.
> + TRUE is returned if break-in symbol received.
> + FALSE is returned if break-in symbol not received.
> **/
> RETURN_STATUS
> AttachHost (
> @@ -1732,8 +1732,8 @@ AttachHost (
> @param[in] BreakCause Break cause of this break event.
> @param[in] ProcessorIndex Processor index value.
> @param[out] BreakReceived If BreakReceived is not NULL,
> - TRUE is retured if break-in symbol received.
> - FALSE is retured if break-in symbol not received.
> + TRUE is returned if break-in symbol received.
> + FALSE is returned if break-in symbol not received.
>
> **/
> VOID
> @@ -1777,7 +1777,7 @@ SendBreakPacketToHost (
>
> It received the command packet from HOST, and sent response data packet
> to HOST.
>
> - @param[in] Vector Vector value of exception or interrutp.
> + @param[in] Vector Vector value of exception or interrupt.
> @param[in, out] CpuContext Pointer to saved CPU context.
> @param[in] BreakReceived TRUE means break-in symbol received.
> FALSE means break-in symbol not received.
> @@ -1881,20 +1881,20 @@ CommandCommunication (
>
> Mailbox = GetMailboxPointer ();
> if (DebugHeader->SequenceNo == Mailbox->HostSequenceNo) {
> - DebugAgentMsgPrint (DEBUG_AGENT_WARNING, "TARGET: Receive one
> old command[%x] agaist command[%x]\n", DebugHeader->SequenceNo,
> Mailbox->HostSequenceNo);
> + DebugAgentMsgPrint (DEBUG_AGENT_WARNING, "TARGET: Receive one
> old command[%x] against command[%x]\n", DebugHeader->SequenceNo,
> Mailbox->HostSequenceNo);
> SendAckPacket (Mailbox->LastAck);
> ReleaseMpSpinLock (&mDebugMpContext.DebugPortSpinLock);
> continue;
> } else if (DebugHeader->SequenceNo == (UINT8) (Mailbox->HostSequenceNo
> + 1)) {
> UpdateMailboxContent (Mailbox,
> DEBUG_MAILBOX_HOST_SEQUENCE_NO_INDEX, (UINT8) DebugHeader-
> >SequenceNo);
> } else {
> - DebugAgentMsgPrint (DEBUG_AGENT_WARNING, "Receive one invalid
> comamnd[%x] agaist command[%x]\n", DebugHeader->SequenceNo, Mailbox-
> >HostSequenceNo);
> + DebugAgentMsgPrint (DEBUG_AGENT_WARNING, "Receive one invalid
> command[%x] against command[%x]\n", DebugHeader->SequenceNo, Mailbox-
> >HostSequenceNo);
> ReleaseMpSpinLock (&mDebugMpContext.DebugPortSpinLock);
> continue;
> }
>
> //
> - // Save CPU content before executing HOST commond
> + // Save CPU content before executing HOST command
> //
> UpdateMailboxContent (Mailbox,
> DEBUG_MAILBOX_EXCEPTION_BUFFER_POINTER_INDEX, (UINT64)(UINTN)
> &AgentExceptionBuffer.JumpBuffer);
> if (SetJump (&AgentExceptionBuffer.JumpBuffer) != 0) {
> @@ -2019,7 +2019,7 @@ CommandCommunication (
>
> } else {
> //
> - // If reveived HALT command, need to defer the GO command
> + // If received HALT command, need to defer the GO command
> //
> SendAckPacket (DEBUG_COMMAND_HALT_PROCESSED);
> HaltDeferred = FALSE;
> @@ -2300,7 +2300,7 @@ CommandCommunication (
> /**
> C function called in interrupt handler.
>
> - @param[in] Vector Vector value of exception or interrutp.
> + @param[in] Vector Vector value of exception or interrupt.
> @param[in] CpuContext Pointer to save CPU context.
>
> **/
> @@ -2341,7 +2341,7 @@ InterruptProcess (
> if (MultiProcessorDebugSupport()) {
> ProcessorIndex = GetProcessorIndex ();
> //
> - // If this processor has alreay halted before, need to check it later
> + // If this processor has already halted before, need to check it later
> //
> if (IsCpuStopped (ProcessorIndex)) {
> IssuedViewPoint = ProcessorIndex;
> @@ -2372,7 +2372,7 @@ InterruptProcess (
>
> if (MultiProcessorDebugSupport()) {
> //
> - // If RUN commmand is executing, wait for it done.
> + // If RUN command is executing, wait for it done.
> //
> while (mDebugMpContext.RunCommandSet) {
> CpuPause ();
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgent
> Lib.c
> b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgent
> Lib.c
> index 1f388d9c0281..bb37aa99b4d4 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgent
> Lib.c
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgent
> Lib.c
> @@ -1,5 +1,5 @@
> /** @file
> - Debug Agent library implementition for Dxe Core and Dxr modules.
> + Debug Agent library implementation for Dxe Core and Dxr modules.
>
> Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c
> b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c
> index 07f47262d24e..3e64852e9027 100644
> --- a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c
> +++ b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/SerialIo.c
> @@ -9,7 +9,7 @@
> #include "DxeDebugAgentLib.h"
>
> //
> -// Serial I/O Protocol Interface defintions.
> +// Serial I/O Protocol Interface definitions.
> //
>
> /**
> @@ -231,7 +231,7 @@ typedef struct {
> } DEBUG_SERIAL_FIFO;
>
> //
> -// Global Varibles
> +// Global Variables
> //
> EFI_HANDLE mSerialIoHandle = NULL;
> UINTN mLoopbackBuffer = 0;
> @@ -389,7 +389,7 @@ SerialReset (
> mSerialIoMode.ControlMask = SERIAL_PORT_DEFAULT_CONTROL_MASK;
> mLoopbackBuffer = 0;
> //
> - // Not reset serial devcie hardware indeed.
> + // Not reset serial device hardware indeed.
> //
> return EFI_SUCCESS;
> }
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> index da2a75e91246..51e07f70e7bb 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug
> AgentLib.c
> @@ -1,5 +1,5 @@
> /** @file
> - SEC Core Debug Agent Library instance implementition.
> + SEC Core Debug Agent Library instance implementation.
>
> Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> @@ -198,7 +198,7 @@ GetMailboxPointer (
>
> MailboxLocationInHob = GetMailboxLocationFromHob ();
> //
> - // Compare mailbox in IDT enry with mailbox in HOB,
> + // Compare mailbox in IDT entry with mailbox in HOB,
> // need to fix mailbox location if HOB moved by PEI CORE
> //
> if (MailboxLocationInHob != MailboxLocationInIdt &&
> MailboxLocationInHob != NULL) {
> @@ -323,7 +323,7 @@ DebugAgentCallbackMemoryDiscoveredPpi (
>
> This function is used to set up debug environment for SEC and PEI phase.
>
> - If InitFlag is DEBUG_AGENT_INIT_PREMEM_SEC, it will overirde IDT table
> entries
> + If InitFlag is DEBUG_AGENT_INIT_PREMEM_SEC, it will override IDT table
> entries
> and initialize debug port. It will enable interrupt to support break-in feature.
> It will set up debug agent Mailbox in cache-as-ramfrom. It will be called
> before
> physical memory is ready.
> @@ -546,7 +546,7 @@ InitializeDebugAgent (
> SetDebugFlag (DEBUG_AGENT_FLAG_INIT_ARCH, DEBUG_ARCH_SYMBOL);
> //
> // Register for a callback once memory has been initialized.
> - // If memery has been ready, the callback funtion will be invoked
> immediately
> + // If memory has been ready, the callback function will be invoked
> immediately
> //
> Status = PeiServicesNotifyPpi
> (&mDebugAgentMemoryDiscoveredNotifyList[0]);
> if (EFI_ERROR (Status)) {
> @@ -626,7 +626,7 @@ InitializeDebugAgent (
> EnableInterrupts ();
> }
> //
> - // If Function is not NULL, invoke it always whatever debug agent was
> initialized sucesssfully or not.
> + // If Function is not NULL, invoke it always whatever debug agent was
> initialized successfully or not.
> //
> if (Function != NULL) {
> Function (Context);
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAg
> entLib.c
> b/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAg
> entLib.c
> index b759918e8531..37b0e8f39759 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAg
> entLib.c
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAg
> entLib.c
> @@ -1,5 +1,5 @@
> /** @file
> - Debug Agent library implementition.
> + Debug Agent library implementation.
>
> Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
> SPDX-License-Identifier: BSD-2-Clause-Patent
> @@ -152,13 +152,13 @@ RestoreDebugRegister (
> /**
> Initialize debug agent.
>
> - This function is used to set up debug enviroment for source level debug
> + This function is used to set up debug environment for source level debug
> in SMM code.
>
> - If InitFlag is DEBUG_AGENT_INIT_SMM, it will overirde IDT table entries
> + If InitFlag is DEBUG_AGENT_INIT_SMM, it will override IDT table entries
> and initialize debug port. It will get debug agent Mailbox from GUIDed HOB,
> it it exists, debug agent wiil copied it into the local Mailbox in SMM space.
> - it will overirde IDT table entries and initialize debug port. Context will be
> + it will override IDT table entries and initialize debug port. Context will be
> NULL.
> If InitFlag is DEBUG_AGENT_INIT_ENTER_SMI, debug agent will save Debug
> Registers and get local Mailbox in SMM space. Context will be NULL.
> @@ -295,7 +295,7 @@ InitializeDebugAgent (
> Mailbox = GetMailboxPointer ();
> if (GetDebugFlag (DEBUG_AGENT_FLAG_AGENT_IN_PROGRESS) == 1) {
> //
> - // If Debug Agent has been communicaton state with HOST, we need skip
> + // If Debug Agent has been communication state with HOST, we need skip
> // any break points set in SMM, set Skip Breakpoint flag
> //
> mSkipBreakpoint = TRUE;
> diff --git
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmF
> uncs.nasm
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmF
> uncs.nasm
> index a5a734a46351..912256ba455a 100644
> ---
> a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmF
> uncs.nasm
> +++
> b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/Ia32/AsmF
> uncs.nasm
> @@ -226,7 +226,7 @@ NoExtrPush:
> push ebx ; temporarily save value of ebx on stack
> cpuid ; use CPUID to determine if FXSAVE/FXRESTOR and
> ; DE are supported
> - pop ebx ; retore value of ebx that was overwritten by CPUID
> + pop ebx ; restore value of ebx that was overwritten by CPUID
> mov eax, cr4
> push eax ; push cr4 firstly
> test edx, BIT24 ; Test for FXSAVE/FXRESTOR support
> @@ -407,7 +407,7 @@ NoExtrPush:
> mov esp, ebp
> pop ebp ; restore ebp maybe updated
> pop esp ; restore esp maybe updated
> - sub esp, 4 * 3 ; restore interupt pushced stack
> + sub esp, 4 * 3 ; restore interrupt pushced stack
>
> iretd
>
> --
> 2.21.0
next prev parent reply other threads:[~2019-12-04 1:03 UTC|newest]
Thread overview: 122+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-03 16:14 [PATCH 00/79] Fix a bunch of typos (part 1) Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 01/79] CryptoPkg/OpensslLib: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 02/79] EmbeddedPkg/FdtLib: Fix a typo Philippe Mathieu-Daudé
2019-12-03 16:58 ` Leif Lindholm
2019-12-03 16:14 ` [PATCH 03/79] EmbeddedPkg/VirtualKeyboard: Fix a typo in EFI_INVALID_PARAMETER Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 04/79] EmbeddedPkg/VirtualKeyboard: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 05/79] EmulatorPkg/Sec: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 06/79] EmulatorPkg/Unix: " Philippe Mathieu-Daudé
2019-12-20 6:38 ` Ni, Ray
2019-12-03 16:14 ` [PATCH 07/79] EmulatorPkg/Win: " Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 08/79] FatPkg/EnhancedFatDxe: " Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 09/79] FatPkg/FatPei: Fix few typos Philippe Mathieu-Daudé
2019-12-20 6:37 ` Ni, Ray
2019-12-03 16:14 ` [PATCH 10/79] IntelFsp2WrapperPkg: Fix various typos Philippe Mathieu-Daudé
2019-12-04 1:14 ` [edk2-devel] " Nate DeSimone
2019-12-04 1:22 ` Chiu, Chasel
2019-12-04 1:40 ` [edk2-devel] " Michael D Kinney
2019-12-04 2:30 ` Zeng, Star
2019-12-11 1:53 ` Chiu, Chasel
2019-12-03 16:14 ` [PATCH 11/79] MdeModulePkg/Application: Improve French translation Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 12/79] MdeModulePkg/Application: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 13/79] MdeModulePkg/Bus/Ata: " Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 14/79] MdeModulePkg/Bus/I2c: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 15/79] MdeModulePkg/Bus/Isa: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:14 ` [PATCH 16/79] MdeModulePkg/Bus/Scsi: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 17/79] MdeModulePkg/Bus/Sd: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 18/79] MdeModulePkg/Core/Pei: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 19/79] MdeModulePkg/Core/PiSmmCore: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 20/79] MdeModulePkg/UsbBusDxe: Fix a typo Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 21/79] MdeModulePkg/UsbMass: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 22/79] MdeModulePkg/UsbMouse: Fix few typos Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 23/79] MdeModulePkg/UsbBus: Fix various typos Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 24/79] MdeModulePkg/Usb: " Philippe Mathieu-Daudé
2019-12-03 16:15 ` [PATCH 25/79] MdePkg/IndustryStandard: " Philippe Mathieu-Daudé
2019-12-04 1:35 ` Michael D Kinney
2019-12-03 16:15 ` [PATCH 26/79] MdePkg/Library/Dxe: " Philippe Mathieu-Daudé
2019-12-04 1:24 ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 27/79] MdePkg/Library/Pci: " Philippe Mathieu-Daudé
2019-12-04 1:25 ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 28/79] MdePkg/Library/Smm: " Philippe Mathieu-Daudé
2019-12-04 1:28 ` Michael D Kinney
2019-12-03 16:15 ` [PATCH 29/79] MdePkg/Ppi: " Philippe Mathieu-Daudé
2019-12-04 1:29 ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 30/79] MdePkg/Register: " Philippe Mathieu-Daudé
2019-12-04 1:30 ` [edk2-devel] " Michael D Kinney
2019-12-03 16:15 ` [PATCH 31/79] NetworkPkg: Fix a typo Philippe Mathieu-Daudé
2019-12-03 17:18 ` Leif Lindholm
2019-12-03 17:20 ` Philippe Mathieu-Daudé
2019-12-04 14:02 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 32/79] NetworkPkg/ArpDxe: Fix various typos Philippe Mathieu-Daudé
2019-12-04 13:20 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 33/79] NetworkPkg/Dhcp4Dxe: " Philippe Mathieu-Daudé
2019-12-04 13:25 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 34/79] NetworkPkg/Dhcp6Dxe: " Philippe Mathieu-Daudé
2019-12-04 13:28 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 35/79] NetworkPkg/DnsDxe: Fix a typo Philippe Mathieu-Daudé
2019-12-04 13:35 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 36/79] NetworkPkg/DnsDxe: Fix various typos Philippe Mathieu-Daudé
2019-12-04 13:36 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 37/79] NetworkPkg/DpcDxe: Fix few typos Philippe Mathieu-Daudé
2019-12-04 13:37 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 38/79] NetworkPkg/HttpBootDxe: Fix a typo in variable name Philippe Mathieu-Daudé
2019-12-04 13:52 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:15 ` [PATCH 39/79] NetworkPkg/HttpBootDxe: Fix various typos Philippe Mathieu-Daudé
2019-12-04 13:53 ` [edk2-devel] " Maciej Rabeda
2019-12-03 16:26 ` [PATCH 00/79] Fix a bunch of typos (part 1) Cœur
[not found] ` <20191203161602.15969-62-philmd@redhat.com>
2019-12-03 16:56 ` [PATCH 61/79] OvmfPkg/Xen: Fix various typos Anthony PERARD
2019-12-03 21:06 ` Laszlo Ersek
2019-12-04 3:39 ` Cœur
2019-12-04 16:07 ` [edk2-devel] " Michael D Kinney
2019-12-09 13:06 ` Philippe Mathieu-Daudé
2019-12-09 17:53 ` Michael D Kinney
[not found] ` <20191203161602.15969-76-philmd@redhat.com>
2019-12-03 19:44 ` [PATCH 75/79] StandaloneMmPkg: Fix a typo Yao, Jiewen
[not found] ` <20191203161602.15969-77-philmd@redhat.com>
2019-12-03 19:45 ` [PATCH 76/79] StandaloneMmPkg: Fix few typos Yao, Jiewen
[not found] ` <20191203161602.15969-57-philmd@redhat.com>
2019-12-03 20:48 ` [PATCH 56/79] OvmfPkg/Acpi: " Laszlo Ersek
[not found] ` <20191203161602.15969-58-philmd@redhat.com>
2019-12-03 20:50 ` [PATCH 57/79] OvmfPkg/Csm: Fix various typos Laszlo Ersek
2019-12-03 23:31 ` David Woodhouse
2019-12-04 14:07 ` [edk2-devel] " Philippe Mathieu-Daudé
[not found] ` <20191203161602.15969-59-philmd@redhat.com>
2019-12-03 21:00 ` [PATCH 58/79] OvmfPkg/Qemu: " Laszlo Ersek
2019-12-09 12:55 ` Philippe Mathieu-Daudé
2019-12-09 13:00 ` Philippe Mathieu-Daudé
2019-12-09 16:12 ` Laszlo Ersek
2019-12-09 15:44 ` Laszlo Ersek
[not found] ` <20191203161602.15969-60-philmd@redhat.com>
2019-12-03 21:00 ` [PATCH 59/79] OvmfPkg/Virtio: Fix few typos Laszlo Ersek
[not found] ` <20191203161602.15969-78-philmd@redhat.com>
2019-12-03 21:03 ` [PATCH 77/79] UefiCpuPkg/CpuDxe: " Laszlo Ersek
2019-12-06 7:24 ` Dong, Eric
[not found] ` <20191203161602.15969-61-philmd@redhat.com>
2019-12-03 16:45 ` [PATCH 60/79] OvmfPkg/Xen: Fix a typo Anthony PERARD
2019-12-03 21:05 ` Laszlo Ersek
[not found] ` <20191203161602.15969-73-philmd@redhat.com>
2019-12-04 1:03 ` Wu, Hao A [this message]
[not found] ` <20191203161602.15969-74-philmd@redhat.com>
2019-12-04 1:03 ` [PATCH 73/79] SourceLevelDebugPkg/DebugCommunicationLib: Fix various typos Wu, Hao A
[not found] ` <20191203161602.15969-75-philmd@redhat.com>
2019-12-04 1:03 ` [PATCH 74/79] SourceLevelDebugPkg: Fix few typos Wu, Hao A
2019-12-04 1:16 ` [edk2-devel] [PATCH 00/79] Fix a bunch of typos (part 1) Nate DeSimone
2019-12-04 1:27 ` Liming Gao
2019-12-04 9:09 ` Laszlo Ersek
2019-12-04 14:57 ` Maciej Rabeda
2019-12-04 16:29 ` Philippe Mathieu-Daudé
2019-12-04 16:44 ` Leif Lindholm
2019-12-04 22:15 ` Laszlo Ersek
2019-12-04 22:18 ` Philippe Mathieu-Daudé
[not found] ` <20191203161602.15969-79-philmd@redhat.com>
2019-12-03 21:04 ` [PATCH 78/79] UefiCpuPkg/PiSmm: Fix various typos Laszlo Ersek
2019-12-06 7:24 ` Dong, Eric
[not found] ` <20191203161602.15969-80-philmd@redhat.com>
2019-12-03 21:05 ` [PATCH 79/79] UefiCpuPkg/Smm: " Laszlo Ersek
2019-12-06 7:24 ` Dong, Eric
[not found] ` <20191203161602.15969-56-philmd@redhat.com>
2019-12-06 16:01 ` [PATCH 55/79] NetworkPkg/VlanConfigDxe: Fix few typos Rabeda, Maciej
[not found] ` <20191203161602.15969-55-philmd@redhat.com>
2019-12-06 16:01 ` [PATCH 54/79] NetworkPkg/UefiPxeBcDxe: Fix various typos Rabeda, Maciej
[not found] ` <20191203161602.15969-52-philmd@redhat.com>
2019-12-06 16:01 ` [PATCH 51/79] NetworkPkg/Tls: Fix few typos Rabeda, Maciej
[not found] ` <20191203161602.15969-51-philmd@redhat.com>
2019-12-06 16:02 ` [PATCH 50/79] NetworkPkg/TcpDxe/Tcp: Fix various typos Rabeda, Maciej
[not found] ` <20191203161602.15969-47-philmd@redhat.com>
2019-12-06 16:02 ` [PATCH 46/79] NetworkPkg/Mtftp4Dxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-53-philmd@redhat.com>
2019-12-06 16:02 ` [PATCH 52/79] NetworkPkg/Udp4Dxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-54-philmd@redhat.com>
2019-12-06 16:03 ` [PATCH 53/79] NetworkPkg/Udp6Dxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-43-philmd@redhat.com>
2019-12-06 16:03 ` [PATCH 42/79] NetworkPkg/Ip6Dxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-45-philmd@redhat.com>
2019-12-06 16:04 ` [PATCH 44/79] NetworkPkg/Library: " Rabeda, Maciej
[not found] ` <20191203161602.15969-42-philmd@redhat.com>
2019-12-06 16:04 ` [PATCH 41/79] NetworkPkg/Ip4Dxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-50-philmd@redhat.com>
2019-12-06 16:04 ` [PATCH 49/79] NetworkPkg/TcpDxe/Sock: Fix few typos Rabeda, Maciej
[not found] ` <20191203161602.15969-48-philmd@redhat.com>
2019-12-06 16:05 ` [PATCH 47/79] NetworkPkg/Mtftp6Dxe: Fix various typos Rabeda, Maciej
[not found] ` <20191203161602.15969-46-philmd@redhat.com>
2019-12-06 16:05 ` [PATCH 45/79] NetworkPkg/MnpDxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-41-philmd@redhat.com>
2019-12-06 16:05 ` [PATCH 40/79] NetworkPkg/HttpDxe: " Rabeda, Maciej
[not found] ` <20191203161602.15969-49-philmd@redhat.com>
2019-12-06 16:09 ` [PATCH 48/79] NetworkPkg/SnpDxe: Fix few typos Rabeda, Maciej
2019-12-06 16:38 ` Philippe Mathieu-Daudé
2019-12-10 7:21 ` [PATCH 00/79] Fix a bunch of typos (part 1) Cœur
[not found] ` <20191203161602.15969-70-philmd@redhat.com>
2019-12-13 2:33 ` [PATCH 69/79] ShellPkg/DynamicCommand: Fix various typos Gao, Zhichao
[not found] ` <20191203161602.15969-69-philmd@redhat.com>
2019-12-13 2:33 ` [PATCH 68/79] ShellPkg/Application: " Gao, Zhichao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B80AF82E9BFB8E4FBD8C89DA810C6A093C96F192@SHSMSX104.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox