]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/GdbStub/GdbStubInternal.h
EmbeddedPkg: Fix various typos
[mirror_edk2.git] / EmbeddedPkg / GdbStub / GdbStubInternal.h
index 6d3d6a7fe184df90936b4db27a3f911645b48233..b8346d7a545f5729f9d8c855147be0377a5a8183 100644 (file)
@@ -67,7 +67,7 @@ extern CONST CHAR8 mHexToStr[];
 #define GDB_EBADMEMADDRBUFSIZE   11  // the buffer that stores memory Address to be read from/written to is not the right size\r
 #define GDB_EBADMEMLENGBUFSIZE   12  // the buffer that stores Length is not the right size\r
 #define GDB_EBADMEMLENGTH        13  // Length, the given number of bytes to read or write, is not the right size\r
-#define GDB_EBADMEMDATA          14  // one of the bytes or nibbles of the memory is leess than 0\r
+#define GDB_EBADMEMDATA          14  // one of the bytes or nibbles of the memory is less than 0\r
 #define GDB_EBADMEMDATASIZE      15  // the memory data, 'XX..', is too short or too long\r
 #define GDB_EBADBUFSIZE          21  // the buffer created is not the correct size\r
 #define GDB_EINVALIDARG          31  // argument is invalid\r
@@ -99,7 +99,7 @@ extern CONST CHAR8 mHexToStr[];
 \r
 typedef struct {\r
   VENDOR_DEVICE_PATH                     VendorDevice;\r
-  UINT32                                 Index;         // Suport more than one\r
+  UINT32                                 Index;         // Support more than one\r
   EFI_DEVICE_PATH_PROTOCOL               End;\r
 } GDB_SERIAL_DEVICE_PATH;\r
 \r
@@ -210,8 +210,8 @@ extern BOOLEAN gCtrlCBreakFlag;
 \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
 extern BOOLEAN gProcessingFPacket;\r
 \r
@@ -296,7 +296,7 @@ EmptyBuffer (
  Converts an 8-bit Hex Char into a INTN.\r
 \r
  @param     Char  - the hex character to be converted into UINTN\r
- @retval    a INTN, from 0 to 15, that corressponds to Char\r
+ @retval    a INTN, from 0 to 15, that corresponds to Char\r
  -1 if Char is not a hex character\r
  **/\r
 INTN\r
@@ -384,7 +384,7 @@ WriteGeneralRegisters (
 \r
 \r
 /** ‘m addr,length ’\r
- Find the Length of the area to read and the start addres. Finally, pass them to\r
+ Find the Length of the area to read and the start address. Finally, pass them to\r
  another function, TransferFromMemToOutBufAndSend, that will read from that memory space and\r
  send it as a packet.\r
 \r
@@ -397,7 +397,7 @@ ReadFromMemory (
 \r
 \r
 /** ‘M addr,length :XX...’\r
- Find the Length of the area in bytes to write and the start addres. Finally, pass them to\r
+ Find the Length of the area in bytes to write and the start address. Finally, pass them to\r
  another function, TransferFromInBufToMem, that will write to that memory space the info in\r
  the input buffer.\r
 \r
@@ -499,7 +499,7 @@ RemoveBreakPoint(
 \r
 \r
 /**\r
- Exception Hanldler for GDB. It will be called for all exceptions\r
+ Exception Handler for GDB. It will be called for all exceptions\r
  registered via the gExceptionType[] array.\r
 \r
  @param ExceptionType   Exception that is being processed\r
@@ -529,7 +529,7 @@ GdbPeriodicCallBack (
 \r
 \r
 /**\r
-  Make two serail consoles: 1) StdIn and StdOut via GDB. 2) StdErr via GDB.\r
+  Make two serial consoles: 1) StdIn and StdOut via GDB. 2) StdErr via GDB.\r
 \r
   These console show up on the remote system running GDB\r
 \r
@@ -545,10 +545,10 @@ GdbInitializeSerialConsole (
   Send a GDB Remote Serial Protocol Packet\r
 \r
   $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
-  the packet teminating character '#' and the two digit checksum.\r
+  the packet terminating character '#' and the two digit checksum.\r
 \r
   If an ack '+' is not sent resend the packet, but timeout eventually so we don't end up\r
-  in an infinit loop. This is so if you unplug the debugger code just keeps running\r
+  in an infinite loop. This is so if you unplug the debugger code just keeps running\r
 \r
   @param PacketData   Payload data for the packet\r
 \r
@@ -565,7 +565,7 @@ SendPacket (
  Receive a GDB Remote Serial Protocol Packet\r
 \r
  $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
- the packet teminating character '#' and the two digit checksum.\r
+ the packet terminating character '#' and the two digit checksum.\r
 \r
  If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.\r
  (In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)\r