SourceLevelDebugPkg/DebugCommunicationLib: Fix various typos

Fix various typos in comments and documentation.

Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-73-philmd@redhat.com>
This commit is contained in:
Antoine Coeur
2020-02-07 02:08:25 +01:00
committed by mergify[bot]
parent a302263ebb
commit 1825c24fd8
8 changed files with 10 additions and 10 deletions

View File

@ -30,7 +30,7 @@ VOID
/** /**
Initialize the debug port. Initialize the debug port.
This function will initialize debug port to get it ready for data transmition. If This function will initialize debug port to get it ready for data transmission. If
certain Debug Communication Library instance has to save some private data in the certain Debug Communication Library instance has to save some private data in the
stack, this function must work on the mode that doesn't return to the caller, then stack, this function must work on the mode that doesn't return to the caller, then
the caller needs to wrap up all rest of logic after DebugPortInitialize() into one the caller needs to wrap up all rest of logic after DebugPortInitialize() into one

View File

@ -15,7 +15,7 @@
/** /**
Initialize the debug port. Initialize the debug port.
This function will initialize debug port to get it ready for data transmition. If This function will initialize debug port to get it ready for data transmission. If
certain Debug Communication Library instance has to save some private data in the certain Debug Communication Library instance has to save some private data in the
stack, this function must work on the mode that doesn't return to the caller, then stack, this function must work on the mode that doesn't return to the caller, then
the caller needs to wrap up all rest of logic after DebugPortInitialize() into one the caller needs to wrap up all rest of logic after DebugPortInitialize() into one

View File

@ -1,5 +1,5 @@
## @file ## @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.<BR> # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
# #

View File

@ -1,5 +1,5 @@
// /** @file // /** @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. // Debug Communication Library instance based on serial port.
// //

View File

@ -162,7 +162,7 @@ XhcClearDebugRegBit (
} }
/** /**
Program and eanble XHCI MMIO base address. Program and enable XHCI MMIO base address.
@return XHCI MMIO base address. @return XHCI MMIO base address.

View File

@ -25,7 +25,7 @@ EFI_PCI_IO_PROTOCOL *mUsb3PciIo = NULL;
/** /**
Creates a named event that can be signaled. Creates a named event that can be signaled.
This function creates an event using NotifyTpl, NoifyFunction. This function creates an event using NotifyTpl, NotifyFunction.
If Name is NULL, then ASSERT(). If Name is NULL, then ASSERT().
If NotifyTpl is not a legal TPL value, then ASSERT(). If NotifyTpl is not a legal TPL value, then ASSERT().
If NotifyFunction is NULL, then ASSERT(). If NotifyFunction is NULL, then ASSERT().

View File

@ -85,7 +85,7 @@
#define XHC_DEBUG_PORT_ON_OFF_DELAY 100000 #define XHC_DEBUG_PORT_ON_OFF_DELAY 100000
// //
// 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 STRING0_DESC_LEN 4
#define MANU_DESC_LEN 12 #define MANU_DESC_LEN 12
@ -680,7 +680,7 @@ USB3InitializeReal (
@param Direction The direction of data transfer. @param Direction The direction of data transfer.
@param Data Array of pointers to the buffers of data to transmit @param Data Array of pointers to the buffers of data to transmit
from or receive into. 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 @param Timeout Indicates the maximum time, in millisecond, which
the transfer is allowed to complete. the transfer is allowed to complete.

View File

@ -152,7 +152,7 @@ XhcCheckNewEvent (
EvtRing->EventRingDequeue += sizeof (TRB_TEMPLATE); EvtRing->EventRingDequeue += sizeof (TRB_TEMPLATE);
// //
// If the dequeue pointer is beyond the ring, then roll-back it to the begining of the ring. // If the dequeue pointer is beyond the ring, then roll-back it to the beginning of the ring.
// //
if ((UINTN)EvtRing->EventRingDequeue >= ((UINTN) EvtRing->EventRingSeg0 + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) { if ((UINTN)EvtRing->EventRingDequeue >= ((UINTN) EvtRing->EventRingSeg0 + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) {
EvtRing->EventRingDequeue = EvtRing->EventRingSeg0; EvtRing->EventRingDequeue = EvtRing->EventRingSeg0;
@ -510,7 +510,7 @@ XhcCreateUrb (
@param Direction The direction of data transfer. @param Direction The direction of data transfer.
@param Data Array of pointers to the buffers of data to transmit @param Data Array of pointers to the buffers of data to transmit
from or receive into. 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 @param Timeout Indicates the maximum time, in microsecond, which
the transfer is allowed to complete. the transfer is allowed to complete.