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