]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/GdbStub/SerialIo.c
EmbeddedPkg: Fix various typos
[mirror_edk2.git] / EmbeddedPkg / GdbStub / SerialIo.c
index 4d18191685fa829152e3b40ed566e620aa21b34b..08d1763c30706360122c8846c904e65ffb73d5c4 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Serial IO Abstraction for GDB stub. This allows an EFI consoles that shows up on the system\r
-  running GDB. One consle for error information and another console for user input/output.\r
+  running GDB. One console for error information and another console for user input/output.\r
 \r
-  Basic packet format is $packet-data#checksum. So every comand has 4 bytes of overhead: $,\r
+  Basic packet format is $packet-data#checksum. So every command has 4 bytes of overhead: $,\r
   #, 0, 0. The 0 and 0 are the ascii characters for the checksum.\r
 \r
 \r
@@ -22,8 +22,8 @@ BOOLEAN gCtrlCBreakFlag = FALSE;
 \r
 //\r
 // If the periodic callback is called while we are processing an F packet we need\r
-// to let the callback know to not read from the serail stream as it could steal\r
-// characters from the F reponse packet\r
+// to let the callback know to not read from the serial stream as it could steal\r
+// characters from the F response packet\r
 //\r
 BOOLEAN gProcessingFPacket = FALSE;\r
 \r
@@ -32,7 +32,7 @@ BOOLEAN gProcessingFPacket = FALSE;
 \r
   Currently a place holder, remove the ASSERT when it gets implemented.\r
 \r
-  @param  ErrNo   Error infomration from the F reply packet or other source\r
+  @param  ErrNo   Error information from the F reply packet or other source\r
 \r
 **/\r
 \r
@@ -69,7 +69,7 @@ GdbParseFReplyPacket (
   INTN   RetCode;\r
 \r
   if (Packet[0] != 'F') {\r
-    // A valid responce would be an F packet\r
+    // A valid response would be an F packet\r
     return -1;\r
   }\r
 \r
@@ -281,15 +281,15 @@ GdbSerialReset (
 \r
 \r
 /**\r
-  Sets the baud rate, receive FIFO depth, transmit/receice time out, parity,\r
+  Sets the baud rate, receive FIFO depth, transmit/receive time out, parity,\r
   data buts, and stop bits on a serial device.\r
 \r
   @param  This             Protocol instance pointer.\r
   @param  BaudRate         The requested baud rate. A BaudRate value of 0 will use the the\r
                            device's default interface speed.\r
-  @param  ReveiveFifoDepth The requested depth of the FIFO on the receive side of the\r
+  @param  ReceiveFifoDepth The requested depth of the FIFO on the receive side of the\r
                            serial interface. A ReceiveFifoDepth value of 0 will use\r
-                           the device's dfault FIFO depth.\r
+                           the device's default FIFO depth.\r
   @param  Timeout          The requested time out for a single character in microseconds.\r
                            This timeout applies to both the transmit and receive side of the\r
                            interface. A Timeout value of 0 will use the device's default time\r
@@ -297,7 +297,7 @@ GdbSerialReset (
   @param  Parity           The type of parity to use on this serial device. A Parity value of\r
                            DefaultParity will use the device's default parity value.\r
   @param  DataBits         The number of data bits to use on the serial device. A DataBits\r
-                           vaule of 0 will use the device's default data bit setting.\r
+                           value of 0 will use the device's default data bit setting.\r
   @param  StopBits         The number of stop bits to use on this serial device. A StopBits\r
                            value of DefaultStopBits will use the device's default number of\r
                            stop bits.\r
@@ -345,7 +345,7 @@ GdbSerialSetControl (
 \r
 \r
 /**\r
-  Retrieves the status of thecontrol bits on a serial device\r
+  Retrieves the status of the control bits on a serial device\r
 \r
   @param  This              Protocol instance pointer.\r
   @param  Control           A pointer to return the current Control signals from the serial device.\r
@@ -444,7 +444,7 @@ GdbSerialRead (
 \r
 \r
 //\r
-// Template used to initailize the GDB Serial IO protocols\r
+// Template used to initialize the GDB Serial IO protocols\r
 //\r
 GDB_SERIAL_DEV gdbSerialDevTemplate = {\r
   GDB_SERIAL_DEV_SIGNATURE,\r