]> git.proxmox.com Git - mirror_edk2.git/commitdiff
SourceLevelDebugPkg/DebugCommunicationLib: Fix various typos
authorAntoine Coeur <coeur@gmx.fr>
Fri, 7 Feb 2020 01:08:25 +0000 (02:08 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Feb 2020 22:30:07 +0000 (22:30 +0000)
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>

SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.c
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.inf
SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCommunicationLibSerialPort.uni
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Common.c
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Dxe.c
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Internal.h
SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunicationLibUsb3Transfer.c

index bc7a00b537c7ae786b377b27518911df49600674..73e0f19f92a91ccf1f80fd229c7d936b58a29331 100644 (file)
@@ -30,7 +30,7 @@ VOID
 /**\r
   Initialize the debug port.\r
 \r
-  This function will initialize debug port to get it ready for data transmition. If\r
+  This function will initialize debug port to get it ready for data transmission. If\r
   certain Debug Communication Library instance has to save some private data in the\r
   stack, this function must work on the mode that doesn't return to the caller, then\r
   the caller needs to wrap up all rest of logic after DebugPortInitialize() into one\r
index 604c7e6d52cee6f8fb5686b838799e63076fcf68..045026508e80d5fc20c87be8b29214b65de26845 100644 (file)
@@ -15,7 +15,7 @@
 /**\r
   Initialize the debug port.\r
 \r
-  This function will initialize debug port to get it ready for data transmition. If\r
+  This function will initialize debug port to get it ready for data transmission. If\r
   certain Debug Communication Library instance has to save some private data in the\r
   stack, this function must work on the mode that doesn't return to the caller, then\r
   the caller needs to wrap up all rest of logic after DebugPortInitialize() into one\r
index 668e0bef178edf1e0f08d273830da379e467457d..21af18cfb0b0dd3e1c6acca928d022d4cd178ac1 100644 (file)
@@ -1,5 +1,5 @@
 ## @file\r
-#  Debug Communication Library instance based on serila port.\r
+#  Debug Communication Library instance based on serial port.\r
 #\r
 #  Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
 #\r
index f8e46fcfaef85a7a2f3d4ab3f8983daf29b3ea20..4bea6d51e032e96cad22f0224c28ef13b0d3b1aa 100644 (file)
@@ -1,5 +1,5 @@
 // /** @file\r
-// Debug Communication Library instance based on serila port.\r
+// Debug Communication Library instance based on serial port.\r
 //\r
 // Debug Communication Library instance based on serial port.\r
 //\r
index 4e49a7437f8b088a1cfc363dc23cda3d780e5130..d76314a42ae6cde027a179e74efaacfd98d5bc4c 100644 (file)
@@ -162,7 +162,7 @@ XhcClearDebugRegBit (
 }\r
 \r
 /**\r
-  Program and eanble XHCI MMIO base address.\r
+  Program and enable XHCI MMIO base address.\r
 \r
   @return XHCI MMIO base address.\r
 \r
index d4245465ce74595fd0ae5084c46012af8a80943e..d2ff2d52a70ffab1b7ff15799a4a67986fb2558d 100644 (file)
@@ -25,7 +25,7 @@ EFI_PCI_IO_PROTOCOL         *mUsb3PciIo = NULL;
 /**\r
   Creates a named event that can be signaled.\r
 \r
-  This function creates an event using NotifyTpl, NoifyFunction.\r
+  This function creates an event using NotifyTpl, NotifyFunction.\r
   If Name is NULL, then ASSERT().\r
   If NotifyTpl is not a legal TPL value, then ASSERT().\r
   If NotifyFunction is NULL, then ASSERT().\r
index 72ed2c74162f5a31f6a0e96942377ecfef213281..df50220f33dc1b3b495aac4e6c6c66a060b35481 100644 (file)
@@ -85,7 +85,7 @@
 #define XHC_DEBUG_PORT_ON_OFF_DELAY    100000\r
 \r
 //\r
-// USB debug device string descritpor (header size + unicode string length)\r
+// USB debug device string descriptor (header size + unicode string length)\r
 //\r
 #define STRING0_DESC_LEN      4\r
 #define MANU_DESC_LEN         12\r
@@ -680,7 +680,7 @@ USB3InitializeReal (
   @param  Direction             The direction of data transfer.\r
   @param  Data                  Array of pointers to the buffers of data to transmit\r
                                 from or receive into.\r
-  @param  DataLength            The lenght of the data buffer.\r
+  @param  DataLength            The length of the data buffer.\r
   @param  Timeout               Indicates the maximum time, in millisecond, which\r
                                 the transfer is allowed to complete.\r
 \r
index a3e3c134d8f100b1a5d0e28141c946605a2c6f1c..262cfab3fbb40a8b3eaa430f7c14316fd664dc40 100644 (file)
@@ -152,7 +152,7 @@ XhcCheckNewEvent (
 \r
   EvtRing->EventRingDequeue += sizeof (TRB_TEMPLATE);\r
   //\r
-  // If the dequeue pointer is beyond the ring, then roll-back it to the begining of the ring.\r
+  // If the dequeue pointer is beyond the ring, then roll-back it to the beginning of the ring.\r
   //\r
   if ((UINTN)EvtRing->EventRingDequeue >= ((UINTN) EvtRing->EventRingSeg0 + sizeof (TRB_TEMPLATE) * EvtRing->TrbNumber)) {\r
     EvtRing->EventRingDequeue = EvtRing->EventRingSeg0;\r
@@ -510,7 +510,7 @@ XhcCreateUrb (
   @param  Direction             The direction of data transfer.\r
   @param  Data                  Array of pointers to the buffers of data to transmit\r
                                 from or receive into.\r
-  @param  DataLength            The lenght of the data buffer.\r
+  @param  DataLength            The length of the data buffer.\r
   @param  Timeout               Indicates the maximum time, in microsecond, which\r
                                 the transfer is allowed to complete.\r
 \r