]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EmbeddedPkg: Fix various typos
authorCœur <coeur@gmx.fr>
Wed, 3 Jul 2019 13:25:30 +0000 (14:25 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Thu, 4 Jul 2019 11:21:04 +0000 (12:21 +0100)
Fix various typos in EmbeddedPkg.

Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
34 files changed:
EmbeddedPkg/Application/AndroidFastboot/AndroidBootImg.c
EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c
EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c
EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c
EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c
EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c
EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h
EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c
EmbeddedPkg/EmbeddedPkg.dsc
EmbeddedPkg/GdbStub/Arm/Processor.c
EmbeddedPkg/GdbStub/GdbStub.c
EmbeddedPkg/GdbStub/GdbStubInternal.h
EmbeddedPkg/GdbStub/Ia32/Processor.c
EmbeddedPkg/GdbStub/SerialIo.c
EmbeddedPkg/GdbStub/X64/Processor.c
EmbeddedPkg/Include/Library/DebugAgentTimerLib.h
EmbeddedPkg/Include/Library/EfiFileLib.h
EmbeddedPkg/Include/Library/GdbSerialLib.h
EmbeddedPkg/Include/Library/PrePiLib.h
EmbeddedPkg/Include/Protocol/AndroidFastbootPlatform.h
EmbeddedPkg/Include/Protocol/HardwareInterrupt.h
EmbeddedPkg/Include/Protocol/PeCoffLoader.h
EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c
EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
EmbeddedPkg/Library/PrePiHobLib/Hob.c
EmbeddedPkg/Library/PrePiLib/FwVol.c
EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c
EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c
EmbeddedPkg/Universal/MmcDxe/Mmc.h

index 896ad29afcaeb3fdd19b3145236b545809e30d49..54b7bee1623b12fc7c02f58d83c01282fbbd4d44 100644 (file)
@@ -9,7 +9,7 @@
 #include "AndroidFastbootApp.h"\r
 \r
 // Find the kernel and ramdisk in an Android boot.img.\r
 #include "AndroidFastbootApp.h"\r
 \r
 // Find the kernel and ramdisk in an Android boot.img.\r
-// return EFI_INVALID_PARAMTER if the boot.img is invalid (i.e. doesn't have the\r
+// return EFI_INVALID_PARAMETER if the boot.img is invalid (i.e. doesn't have the\r
 //  right magic value),\r
 // return EFI_NOT_FOUND if there was no kernel in the boot.img.\r
 // Note that the Ramdisk is optional - *Ramdisk won't be touched if it isn't\r
 //  right magic value),\r
 // return EFI_NOT_FOUND if there was no kernel in the boot.img.\r
 // Note that the Ramdisk is optional - *Ramdisk won't be touched if it isn't\r
index c8e89173e6e7b1ca0f290dd970df60ea0b04d1a2..3e3f4b7eb2b44f2a16719d3ca7d5add24d35f415 100644 (file)
@@ -300,7 +300,7 @@ AcceptCmd (
   } else if (IS_LOWERCASE_ASCII (Command[0])) {\r
     // Commands starting with lowercase ASCII characters are reserved for the\r
     // Fastboot protocol. If we don't recognise it, it's probably the future\r
   } else if (IS_LOWERCASE_ASCII (Command[0])) {\r
     // Commands starting with lowercase ASCII characters are reserved for the\r
     // Fastboot protocol. If we don't recognise it, it's probably the future\r
-    // and there are new commmands in the protocol.\r
+    // and there are new commands in the protocol.\r
     // (By the way, the "oem" command mentioned above makes this reservation\r
     //  redundant, but we handle it here to be spec-compliant)\r
     SEND_LITERAL ("FAILCommand not recognised. Check Fastboot version.");\r
     // (By the way, the "oem" command mentioned above makes this reservation\r
     //  redundant, but we handle it here to be spec-compliant)\r
     SEND_LITERAL ("FAILCommand not recognised. Check Fastboot version.");\r
index 8d0ffbe88d0a404d000a2160dfb7ad4ffc249f1e..c250844eda74bc1bf366494c5d2d03c67c24dd3e 100644 (file)
@@ -224,7 +224,7 @@ OnReadyToBoot (
   @retval EFI_ALREADY_STARTED     The driver already exists in system.\r
   @retval EFI_OUT_OF_RESOURCES    Fail to execute entry point due to lack of\r
                                   resources.\r
   @retval EFI_ALREADY_STARTED     The driver already exists in system.\r
   @retval EFI_OUT_OF_RESOURCES    Fail to execute entry point due to lack of\r
                                   resources.\r
-  @retval EFI_SUCCES              All the related protocols are installed on\r
+  @retval EFI_SUCCESS             All the related protocols are installed on\r
                                   the driver.\r
 \r
 **/\r
                                   the driver.\r
 \r
 **/\r
index 5ec95f74919429a03b0b4d58231aa53e425df9a8..907d46a495e3bf76220e44a498e98adaf9c1a3c4 100644 (file)
@@ -92,7 +92,7 @@ InstallHiiPages (
   @retval EFI_ALREADY_STARTED     The driver already exists in system.\r
   @retval EFI_OUT_OF_RESOURCES    Fail to execute entry point due to lack of\r
                                   resources.\r
   @retval EFI_ALREADY_STARTED     The driver already exists in system.\r
   @retval EFI_OUT_OF_RESOURCES    Fail to execute entry point due to lack of\r
                                   resources.\r
-  @retval EFI_SUCCES              All the related protocols are installed on\r
+  @retval EFI_SUCCESS             All the related protocols are installed on\r
                                   the driver.\r
 \r
 **/\r
                                   the driver.\r
 \r
 **/\r
index 309e17b8fa4a4b00e3bfe779a7eb631f598b09ce..3ad453595bcdffc6c525c330ccefccbe0fd1bb74 100644 (file)
@@ -33,7 +33,7 @@
 */\r
 \r
 // TODO Make sure the controller isn't sending empty packets when it shouldn't\r
 */\r
 \r
 // TODO Make sure the controller isn't sending empty packets when it shouldn't\r
-// (check behaviour in cases when Buffer Length isn't explcitly set)\r
+// (check behaviour in cases when Buffer Length isn't explicitly set)\r
 \r
 // ISP1582 Datasheet:\r
 // "Data transfers preceding the status stage must first be fully\r
 \r
 // ISP1582 Datasheet:\r
 // "Data transfers preceding the status stage must first be fully\r
@@ -570,7 +570,7 @@ Isp1761PeriphStart (
   mDataReceivedCallback = RxCallback;\r
   mDataSentCallback = TxCallback;\r
 \r
   mDataReceivedCallback = RxCallback;\r
   mDataSentCallback = TxCallback;\r
 \r
-  // Register a timer event so CheckInterupts gets called periodically\r
+  // Register a timer event so CheckInterrupts gets called periodically\r
   Status = gBS->CreateEvent (\r
                   EVT_TIMER | EVT_NOTIFY_SIGNAL,\r
                   TPL_CALLBACK,\r
   Status = gBS->CreateEvent (\r
                   EVT_TIMER | EVT_NOTIFY_SIGNAL,\r
                   TPL_CALLBACK,\r
index e1375bb63ea12517a6d4e6703b279d5586c4a929..a0fca4d6a335308f241e37efe473421de1d27244 100644 (file)
@@ -1439,7 +1439,7 @@ SnpReceive (
     return EFI_BUFFER_TOO_SMALL;\r
   }\r
 \r
     return EFI_BUFFER_TOO_SMALL;\r
   }\r
 \r
-  // Set the amount of data to be transfered out of FIFO for THIS packet\r
+  // Set the amount of data to be transferred out of FIFO for THIS packet\r
   // This can be used to trigger an interrupt, and status can be checked\r
   RxCfgValue = Lan9118MmioRead32 (LAN9118_RX_CFG);\r
   RxCfgValue &= ~(RXCFG_RX_DMA_CNT_MASK);\r
   // This can be used to trigger an interrupt, and status can be checked\r
   RxCfgValue = Lan9118MmioRead32 (LAN9118_RX_CFG);\r
   RxCfgValue &= ~(RXCFG_RX_DMA_CNT_MASK);\r
index 62fd35965ab218705556ada8f59c4549e034e99c..80df34b87e63fbd03ee4b0025f49513cad4fa1bd 100644 (file)
 #define RXSTATUS_CRC_ERROR                    BIT1                      // Cyclic Redundancy Check Error\r
 #define RXSTATUS_DB                           BIT2                      // Dribbling bit: Frame had non-integer multiple of 8bits\r
 #define RXSTATUS_MII_ERROR                    BIT3                      // Receive error during interception\r
 #define RXSTATUS_CRC_ERROR                    BIT1                      // Cyclic Redundancy Check Error\r
 #define RXSTATUS_DB                           BIT2                      // Dribbling bit: Frame had non-integer multiple of 8bits\r
 #define RXSTATUS_MII_ERROR                    BIT3                      // Receive error during interception\r
-#define RXSTATUS_RXW_TO                       BIT4                      // Incomming frame larger than 2kb\r
+#define RXSTATUS_RXW_TO                       BIT4                      // Incoming frame larger than 2kb\r
 #define RXSTATUS_FT                           BIT5                      // 1: Ether type / 0: 802.3 type frame\r
 #define RXSTATUS_LCOLL                        BIT6                      // Late collision detected\r
 #define RXSTATUS_FTL                          BIT7                      // Frame longer than Ether type\r
 #define RXSTATUS_FT                           BIT5                      // 1: Ether type / 0: 802.3 type frame\r
 #define RXSTATUS_LCOLL                        BIT6                      // Late collision detected\r
 #define RXSTATUS_FTL                          BIT7                      // Frame longer than Ether type\r
index 94a96992ba00e607f36510a9cbc4a770e68acbb1..be4d6bb9c1cf6afb4dccdcf6f9b7c631d3ec886f 100644 (file)
@@ -427,7 +427,7 @@ Lan9118Initialize (
   if ((Lan9118MmioRead32 (LAN9118_E2P_CMD) & E2P_EPC_MAC_ADDRESS_LOADED) == 0) {\r
     DEBUG ((EFI_D_ERROR, "Warning: There was an error detecting EEPROM or loading the MAC Address.\n"));\r
 \r
   if ((Lan9118MmioRead32 (LAN9118_E2P_CMD) & E2P_EPC_MAC_ADDRESS_LOADED) == 0) {\r
     DEBUG ((EFI_D_ERROR, "Warning: There was an error detecting EEPROM or loading the MAC Address.\n"));\r
 \r
-    // If we had an address before (set by StationAddess), continue to use it\r
+    // If we had an address before (set by StationAddress), continue to use it\r
     if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) {\r
       Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp);\r
     } else {\r
     if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) {\r
       Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp);\r
     } else {\r
index c8a6eb425ceb5db5173381cf51d56b41585fa9f5..e3e8d6889594ad1441e41ca429bd2dd1ea428fab 100644 (file)
@@ -441,7 +441,7 @@ PrintIoRegisters (
 \r
   DEBUG ((DEBUG_ERROR, "\nLAN91x I/O Register Dump:\n"));\r
 \r
 \r
   DEBUG ((DEBUG_ERROR, "\nLAN91x I/O Register Dump:\n"));\r
 \r
-  // Print currrent bank select register\r
+  // Print current bank select register\r
   Value = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET);\r
   DEBUG ((DEBUG_ERROR, "  BankSel: %d  Bank Register %04x (%d)\n",\r
       LanDriver->BankSel, Value, Value & 0x0007));\r
   Value = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET);\r
   DEBUG ((DEBUG_ERROR, "  BankSel: %d  Bank Register %04x (%d)\n",\r
       LanDriver->BankSel, Value, Value & 0x0007));\r
index 8aff9f167c17a0f2cb21d1668b6689a20f3da8e9..d13f2bc6efc0454de933bfb27f54aa18ef5e544a 100644 (file)
 #define PTR_AUTO_INCR   BIT14\r
 #define PTR_RCV         BIT15\r
 \r
 #define PTR_AUTO_INCR   BIT14\r
 #define PTR_RCV         BIT15\r
 \r
-// Interupt Status and Mask Register Bits\r
+// Interrupt Status and Mask Register Bits\r
 #define IST_RCV         BIT0\r
 #define IST_TX          BIT1\r
 #define IST_TX_EMPTY    BIT2\r
 #define IST_RCV         BIT0\r
 #define IST_TX          BIT1\r
 #define IST_TX_EMPTY    BIT2\r
index 366bf484eca506c27eeaea7044bce39de31300d2..f6a723adfb28ea8b990a09440792077937af1189 100644 (file)
@@ -634,7 +634,7 @@ SiI3132GetDevice (
     return EFI_UNSUPPORTED;\r
   } else {\r
     *Port = ((SATA_DEVICE_PATH*)DevicePath)->Lun;\r
     return EFI_UNSUPPORTED;\r
   } else {\r
     *Port = ((SATA_DEVICE_PATH*)DevicePath)->Lun;\r
-    // Return the first Sata Sevice as there should be only one directly connected\r
+    // Return the first Sata Device as there should be only one directly connected\r
     *PortMultiplierPort = ((SATA_SI3132_DEVICE*)SataSiI3132Instance->Ports[*Port].Devices.ForwardLink)->Index;\r
     return EFI_SUCCESS;\r
   }\r
     *PortMultiplierPort = ((SATA_SI3132_DEVICE*)SataSiI3132Instance->Ports[*Port].Devices.ForwardLink)->Index;\r
     return EFI_SUCCESS;\r
   }\r
index 863bce3a190741c170f8668b1d0e7cdd3a867e62..a8a151eb40cbaccde4c27dadea9f3b1b697a13fa 100644 (file)
 # Values are in EFI Pages (4K). DXE Core will make sure that\r
 # at least this much of each type of memory can be allocated\r
 # from a single memory range. This way you only end up with\r
 # Values are in EFI Pages (4K). DXE Core will make sure that\r
 # at least this much of each type of memory can be allocated\r
 # from a single memory range. This way you only end up with\r
-# maximum of two fragements for each type in the memory map\r
+# maximum of two fragments for each type in the memory map\r
 # (the memory used, and the free memory that was prereserved\r
 # but not used).\r
 #\r
 # (the memory used, and the free memory that was prereserved\r
 # but not used).\r
 #\r
index 5c00a976e460cb722db6a94e4436f318e88b4753..f15d356c44810ccadd99d1de19f018723c101455 100644 (file)
@@ -298,7 +298,7 @@ CHAR8
 /** ‘P n...=r...’\r
  Writes the new value of n-th register received into the input buffer to the n-th register\r
  @param   SystemContext   Register content at time of the exception\r
 /** ‘P n...=r...’\r
  Writes the new value of n-th register received into the input buffer to the n-th register\r
  @param   SystemContext   Register content at time of the exception\r
- @param   InBuffer      Ponter to the input buffer received from gdb server\r
+ @param   InBuffer      Pointer to the input buffer received from gdb server\r
  **/\r
 VOID\r
 WriteNthRegister (\r
  **/\r
 VOID\r
 WriteNthRegister (\r
index eda5ba143ab95aefa4ec03c46fc00d085ce5298a..7f2a5ed20011c06482760e4994ef3fcbe46bd734 100644 (file)
@@ -2,7 +2,7 @@
   UEFI driver that implements a GDB stub\r
 \r
   Note: Any code in the path of the Serial IO output can not call DEBUG as will\r
   UEFI driver that implements a GDB stub\r
 \r
   Note: Any code in the path of the Serial IO output can not call DEBUG as will\r
-  will blow out the stack. Serial IO calls DEBUG, debug calls Serail IO, ...\r
+  will blow out the stack. Serial IO calls DEBUG, debug calls Serial IO, ...\r
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
@@ -260,10 +260,10 @@ TransferFromMemToOutBufAndSend (
   Send a GDB Remote Serial Protocol Packet\r
 \r
   $PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',\r
   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
 \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
 \r
   @param PacketData   Payload data for the packet\r
 \r
@@ -317,7 +317,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
   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
 \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
@@ -407,7 +407,7 @@ EmptyBuffer (
  Converts an 8-bit Hex Char into a INTN.\r
 \r
  @param   Char the hex character to be converted into UINTN\r
  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
  -1 if Char is not a hex character\r
  **/\r
 INTN\r
@@ -596,7 +596,7 @@ ConvertEFItoGDBtype (
 \r
 \r
 /** "m addr,length"\r
 \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
  another function, TransferFromMemToOutBufAndSend, that will read from that memory space and\r
  send it as a packet.\r
  **/\r
@@ -644,7 +644,7 @@ ReadFromMemory (
 \r
 \r
 /** "M addr,length :XX..."\r
 \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
  another function, TransferFromInBufToMem, that will write to that memory space the info in\r
  the input buffer.\r
  **/\r
@@ -918,7 +918,7 @@ PeCoffLoaderGetDebuggerInfo (
       break;\r
     default:\r
       //\r
       break;\r
     default:\r
       //\r
-      // For unknow Machine field, use Magic in optional Header\r
+      // For unknown Machine field, use Magic in optional Header\r
       //\r
       Magic = Hdr.Pe32->OptionalHeader.Magic;\r
     }\r
       //\r
       Magic = Hdr.Pe32->OptionalHeader.Magic;\r
     }\r
@@ -1088,7 +1088,7 @@ QxferLibrary (
 \r
 \r
 /**\r
 \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
  registered via the gExceptionType[] array.\r
 \r
  @param ExceptionType     Exception that is being processed\r
@@ -1157,7 +1157,7 @@ GdbExceptionHandler (
       case 'q':\r
         // General Query Packets\r
         if (AsciiStrnCmp (gInBuffer, "qSupported", 10) == 0) {\r
       case 'q':\r
         // General Query Packets\r
         if (AsciiStrnCmp (gInBuffer, "qSupported", 10) == 0) {\r
-          // return what we currently support, we don't parse what gdb suports\r
+          // return what we currently support, we don't parse what gdb supports\r
           AsciiSPrint (gOutBuffer, MAX_BUF_SIZE, "qXfer:libraries:read+;PacketSize=%d", MAX_BUF_SIZE);\r
           SendPacket (gOutBuffer);\r
         } else if (AsciiStrnCmp (gInBuffer, "qXfer:libraries:read::", 22) == 0) {\r
           AsciiSPrint (gOutBuffer, MAX_BUF_SIZE, "qXfer:libraries:read+;PacketSize=%d", MAX_BUF_SIZE);\r
           SendPacket (gOutBuffer);\r
         } else if (AsciiStrnCmp (gInBuffer, "qXfer:libraries:read::", 22) == 0) {\r
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_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
 #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
 \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
   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
 \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
 //\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
  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
  -1 if Char is not a hex character\r
  **/\r
 INTN\r
@@ -384,7 +384,7 @@ WriteGeneralRegisters (
 \r
 \r
 /** ‘m addr,length ’\r
 \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
  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
 \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
  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
 \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
  registered via the gExceptionType[] array.\r
 \r
  @param ExceptionType   Exception that is being processed\r
@@ -529,7 +529,7 @@ GdbPeriodicCallBack (
 \r
 \r
 /**\r
 \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
 \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
   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
 \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
 \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
  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
 \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
index e0bdf98d9e28e3a1255f43585900f95588c2c833..8dc768f180b57404f1c72fa099ae5c8dfafea2ee 100644 (file)
@@ -285,7 +285,7 @@ BasicWriteRegister (
  Writes the new value of n-th register received into the input buffer to the n-th register\r
 \r
  @param   SystemContext   Register content at time of the exception\r
  Writes the new value of n-th register received into the input buffer to the n-th register\r
 \r
  @param   SystemContext   Register content at time of the exception\r
- @param   InBuffer      Ponter to the input buffer received from gdb server\r
+ @param   InBuffer      Pointer to the input buffer received from gdb server\r
  **/\r
 VOID\r
 EFIAPI\r
  **/\r
 VOID\r
 EFIAPI\r
@@ -667,7 +667,7 @@ EnableDebugRegister (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Returns register number 0 - 3 for the maching debug register.\r
+  Returns register number 0 - 3 for the matching debug register.\r
   This function compares incoming Address, Type, Length and\r
   if there is a match then it returns the appropriate register number.\r
   In case of mismatch, function returns EFI_NOT_FOUND message.\r
   This function compares incoming Address, Type, Length and\r
   if there is a match then it returns the appropriate register number.\r
   In case of mismatch, function returns EFI_NOT_FOUND message.\r
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
 /** @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
 \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
   #, 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
 \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
 //\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
 \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
 \r
 **/\r
 \r
@@ -69,7 +69,7 @@ GdbParseFReplyPacket (
   INTN   RetCode;\r
 \r
   if (Packet[0] != 'F') {\r
   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
     return -1;\r
   }\r
 \r
@@ -281,15 +281,15 @@ GdbSerialReset (
 \r
 \r
 /**\r
 \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
   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
                            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
   @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
   @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
   @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
 \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
 \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
 \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
 //\r
 GDB_SERIAL_DEV gdbSerialDevTemplate = {\r
   GDB_SERIAL_DEV_SIGNATURE,\r
index 20eabf0c1d59ba577e09e15d0f6a51fbde966c4b..c6599a2b2b68c0c8af88f8c8fd4b775fb521cf00 100644 (file)
@@ -254,7 +254,7 @@ BasicWriteRegister (
  Writes the new value of n-th register received into the input buffer to the n-th register\r
 \r
  @param   SystemContext   Register content at time of the exception\r
  Writes the new value of n-th register received into the input buffer to the n-th register\r
 \r
  @param   SystemContext   Register content at time of the exception\r
- @param   InBuffer      Ponter to the input buffer received from gdb server\r
+ @param   InBuffer      Pointer to the input buffer received from gdb server\r
  **/\r
 VOID\r
 EFIAPI\r
  **/\r
 VOID\r
 EFIAPI\r
@@ -638,7 +638,7 @@ EnableDebugRegister (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Returns register number 0 - 3 for the maching debug register.\r
+  Returns register number 0 - 3 for the matching debug register.\r
   This function compares incoming Address, Type, Length and\r
   if there is a match then it returns the appropriate register number.\r
   In case of mismatch, function returns EFI_NOT_FOUND message.\r
   This function compares incoming Address, Type, Length and\r
   if there is a match then it returns the appropriate register number.\r
   In case of mismatch, function returns EFI_NOT_FOUND message.\r
index 0fcb86e0616262f2af13ac182b5d6e4567232a99..eb499dbc1bd00e19f261781e77990d2c1e86a4e6 100644 (file)
@@ -17,7 +17,7 @@
 /**\r
   Setup all the hardware needed for the debug agents timer.\r
 \r
 /**\r
   Setup all the hardware needed for the debug agents timer.\r
 \r
-  This function is used to set up debug enviroment. It may enable interrupts.\r
+  This function is used to set up debug environment. It may enable interrupts.\r
 \r
 **/\r
 VOID\r
 \r
 **/\r
 VOID\r
index 8fc7d71b4e2abf2db28bbe5f603d2add04528fc6..0544b6e2006d51f7a022a395aa2c96787d9096a9 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
   Library functions that perform file IO. Memory buffer, file system, and\r
 /** @file\r
   Library functions that perform file IO. Memory buffer, file system, and\r
-  fimrware volume operations are supproted.\r
+  firmware volume operations are supported.\r
 \r
   Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
   Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
   Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
   Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
@@ -12,7 +12,7 @@
   current mounted device concept of current working directory concept implement\r
   by this library.\r
 \r
   current mounted device concept of current working directory concept implement\r
   by this library.\r
 \r
-  Device names are case insensative and only check the leading characters for\r
+  Device names are case insensitive and only check the leading characters for\r
   unique matches. Thus the following are all the same:\r
     LoadFile0:\r
     l0:\r
   unique matches. Thus the following are all the same:\r
     LoadFile0:\r
     l0:\r
@@ -24,7 +24,7 @@
   l1:          - EFI LoadFile device one.\r
   B0:          - EFI BlockIo zero.\r
   fs3:         - EFI Simple File System device 3\r
   l1:          - EFI LoadFile device one.\r
   B0:          - EFI BlockIo zero.\r
   fs3:         - EFI Simple File System device 3\r
-  Fv2:         - EFI Firmware VOlume device 2\r
+  Fv2:         - EFI Firmware Volume device 2\r
   1.2.3.4:name - TFTP IP and file name\r
 \r
 **/\r
   1.2.3.4:name - TFTP IP and file name\r
 \r
 **/\r
index 9f1c80145e4a1714b49d8ede98a01a65cf289c99..b45645ae61168279447109f06123839e6a8c31c6 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
 /** @file\r
-  Basic serial IO abstaction for GDB\r
+  Basic serial IO abstraction for GDB\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
@@ -13,7 +13,7 @@
 \r
 \r
 /**\r
 \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. This call is optional as the serial\r
   port will be set up with defaults base on PCD values.\r
 \r
   data buts, and stop bits on a serial device. This call is optional as the serial\r
   port will be set up with defaults base on PCD values.\r
 \r
   @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
   @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
 \r
   @retval EFI_SUCCESS      The device was configured.\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
 \r
   @retval EFI_SUCCESS      The device was configured.\r
-  @retval EFI_DEVICE_ERROR The serial device could not be coonfigured.\r
+  @retval EFI_DEVICE_ERROR The serial device could not be configured.\r
 \r
 **/\r
 RETURN_STATUS\r
 \r
 **/\r
 RETURN_STATUS\r
index ee8d4ef4d98a0fbb5b92523098bdc8839dab3cad..54f8e1e582a374f972fd241cd060b56a3b039ceb 100644 (file)
@@ -171,7 +171,7 @@ FfsProcessFvFile (
   Search through every FV until you find a file of type FileType\r
 \r
   @param FileType        File handle of a Fv type file.\r
   Search through every FV until you find a file of type FileType\r
 \r
   @param FileType        File handle of a Fv type file.\r
-  @param Volumehandle    On succes Volume Handle of the match\r
+  @param Volumehandle    On success Volume Handle of the match\r
   @param FileHandle      On success File Handle of the match\r
 \r
   @retval EFI_NOT_FOUND  FV image can't be found.\r
   @param FileHandle      On success File Handle of the match\r
 \r
   @retval EFI_NOT_FOUND  FV image can't be found.\r
@@ -492,7 +492,7 @@ BuildFvHob (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Builds a Firmware Volume HOB and a resrouce descriptor hob\r
+  Builds a Firmware Volume HOB and a resource descriptor hob\r
 \r
   This function builds a Firmware Volume HOB.\r
   It can only be invoked during PEI phase;\r
 \r
   This function builds a Firmware Volume HOB.\r
   It can only be invoked during PEI phase;\r
index c013ce2ea2c15c7318e9189d0118c775eb1e2b77..ec15a352643bf96480afee87bda8b894c7bed960 100644 (file)
@@ -36,7 +36,7 @@ EFI_STATUS
 \r
 /*\r
   To be called when Fastboot is finished and we aren't rebooting or booting an\r
 \r
 /*\r
   To be called when Fastboot is finished and we aren't rebooting or booting an\r
-  image. Undo initialisation, free resrouces.\r
+  image. Undo initialisation, free resources.\r
 */\r
 typedef\r
 VOID\r
 */\r
 typedef\r
 VOID\r
@@ -49,7 +49,7 @@ VOID
   PartitionName, with the image pointed to by Buffer, whose size is BufferSize.\r
 \r
   @param[in] PartitionName  Null-terminated name of partition to write.\r
   PartitionName, with the image pointed to by Buffer, whose size is BufferSize.\r
 \r
   @param[in] PartitionName  Null-terminated name of partition to write.\r
-  @param[in] BufferSize     Size of Buffer in byets.\r
+  @param[in] BufferSize     Size of Buffer in bytes.\r
   @param[in] Buffer         Data to write to partition.\r
 \r
   @retval EFI_NOT_FOUND     No such partition.\r
   @param[in] Buffer         Data to write to partition.\r
 \r
   @retval EFI_NOT_FOUND     No such partition.\r
index 0489d1fc06485537496d4f0d50d7a73b9620faec..ca95fa93c4a7900eb5869b29412c886569ab266c 100644 (file)
@@ -131,7 +131,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Signal to the hardware that the End Of Intrrupt state\r
+  Signal to the hardware that the End Of Interrupt state\r
   has been reached.\r
 \r
   @param This     Instance pointer for this protocol\r
   has been reached.\r
 \r
   @param This     Instance pointer for this protocol\r
index 69c2f4a322d6f804155ac4be58f4de2148664816..56557901b002d12285076b8f2518d7cc885686b4 100644 (file)
@@ -162,13 +162,13 @@ RETURN_STATUS
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI\r
+  Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI\r
   runtime.\r
 \r
   This function reapplies relocation fixups to the PE/COFF image specified by ImageBase\r
   and ImageSize so the image will execute correctly when the PE/COFF image is mapped\r
   to the address specified by VirtualImageBase. RelocationData must be identical\r
   runtime.\r
 \r
   This function reapplies relocation fixups to the PE/COFF image specified by ImageBase\r
   and ImageSize so the image will execute correctly when the PE/COFF image is mapped\r
   to the address specified by VirtualImageBase. RelocationData must be identical\r
-  to the FiuxupData buffer from the PE_COFF_LOADER_IMAGE_CONTEXT structure\r
+  to the FixupData buffer from the PE_COFF_LOADER_IMAGE_CONTEXT structure\r
   after this PE/COFF image was relocated with PeCoffLoaderRelocateImage().\r
 \r
   Note that if the platform does not maintain coherency between the instruction cache(s) and the data\r
   after this PE/COFF image was relocated with PeCoffLoaderRelocateImage().\r
 \r
   Note that if the platform does not maintain coherency between the instruction cache(s) and the data\r
index 819ed42686c9a1dee5729b80ca624357e6f1b067..28416897967104c852c8edffb085bffb39dd54af 100644 (file)
@@ -15,7 +15,7 @@
 /**\r
   Setup all the hardware needed for the debug agents timer.\r
 \r
 /**\r
   Setup all the hardware needed for the debug agents timer.\r
 \r
-  This function is used to set up debug enviroment. It may enable interrupts.\r
+  This function is used to set up debug environment. It may enable interrupts.\r
 \r
 **/\r
 VOID\r
 \r
 **/\r
 VOID\r
index 738aa24ae5e7d3b226b37f834b49e62952cf148a..d2bafcf69b607ecc4e31996697a78cf3de728728 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
 /** @file\r
-  Basic serial IO abstaction for GDB\r
+  Basic serial IO abstraction for GDB\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
@@ -50,7 +50,7 @@ GdbSerialLibDebugPortConstructor (
 \r
 \r
 /**\r
 \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. This call is optional as the serial\r
   port will be set up with defaults base on PCD values.\r
 \r
   data buts, and stop bits on a serial device. This call is optional as the serial\r
   port will be set up with defaults base on PCD values.\r
 \r
@@ -59,13 +59,13 @@ GdbSerialLibDebugPortConstructor (
   @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
   @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
 \r
   @retval EFI_SUCCESS      The device was configured.\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
 \r
   @retval EFI_SUCCESS      The device was configured.\r
-  @retval EFI_DEVICE_ERROR The serial device could not be coonfigured.\r
+  @retval EFI_DEVICE_ERROR The serial device could not be configured.\r
 \r
 **/\r
 RETURN_STATUS\r
 \r
 **/\r
 RETURN_STATUS\r
index be5cda61c5281e6eb75cd4f0d76f3258d487634a..088e23e0d89f41e163a6b5cb3add5d8b2c1af670 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
 /** @file\r
-  Basic serial IO abstaction for GDB\r
+  Basic serial IO abstraction for GDB\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
 \r
@@ -80,7 +80,7 @@ GdbSerialLibConstructor (
 \r
 \r
 /**\r
 \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. This call is optional as the serial\r
   port will be set up with defaults base on PCD values.\r
 \r
   data buts, and stop bits on a serial device. This call is optional as the serial\r
   port will be set up with defaults base on PCD values.\r
 \r
@@ -89,13 +89,13 @@ GdbSerialLibConstructor (
   @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
   @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
 \r
   @retval EFI_SUCCESS      The device was configured.\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
 \r
   @retval EFI_SUCCESS      The device was configured.\r
-  @retval EFI_DEVICE_ERROR The serial device could not be coonfigured.\r
+  @retval EFI_DEVICE_ERROR The serial device could not be configured.\r
 \r
 **/\r
 RETURN_STATUS\r
 \r
 **/\r
 RETURN_STATUS\r
index 47bd00808d62bf8396f44e882c079e5114b4f034..b5cc6c5d8f6322e8c0272a09b2bb1f6d22175951 100644 (file)
@@ -812,7 +812,7 @@ BuildPeCoffLoaderHob (
   BuildGuidDataHob (&gPeCoffLoaderProtocolGuid, &Ptr, sizeof (VOID *));\r
 }\r
 \r
   BuildGuidDataHob (&gPeCoffLoaderProtocolGuid, &Ptr, sizeof (VOID *));\r
 }\r
 \r
-// May want to put this into a library so you only need the PCD setings if you are using the feature?\r
+// May want to put this into a library so you only need the PCD settings if you are using the feature?\r
 VOID\r
 BuildMemoryTypeInformationHob (\r
   VOID\r
 VOID\r
 BuildMemoryTypeInformationHob (\r
   VOID\r
index 797779f84525872a45197f335164be9ce9e13641..881506edddafc04728e7f2d02e55b8f69d32e5e8 100644 (file)
@@ -732,7 +732,7 @@ FfsGetVolumeInfo (
   Search through every FV until you find a file of type FileType\r
 \r
   @param FileType        File handle of a Fv type file.\r
   Search through every FV until you find a file of type FileType\r
 \r
   @param FileType        File handle of a Fv type file.\r
-  @param Volumehandle    On succes Volume Handle of the match\r
+  @param Volumehandle    On success Volume Handle of the match\r
   @param FileHandle      On success File Handle of the match\r
 \r
   @retval EFI_NOT_FOUND  FV image can't be found.\r
   @param FileHandle      On success File Handle of the match\r
 \r
   @retval EFI_NOT_FOUND  FV image can't be found.\r
@@ -857,7 +857,7 @@ FfsProcessFvFile (
 \r
 \r
   //\r
 \r
 \r
   //\r
-  // Inform HOB consumer phase, i.e. DXE core, the existance of this FV\r
+  // Inform HOB consumer phase, i.e. DXE core, the existence of this FV\r
   //\r
   BuildFvHob ((EFI_PHYSICAL_ADDRESS) (UINTN) FvImageInfo.FvStart, FvImageInfo.FvSize);\r
 \r
   //\r
   BuildFvHob ((EFI_PHYSICAL_ADDRESS) (UINTN) FvImageInfo.FvStart, FvImageInfo.FvSize);\r
 \r
index 7ce71c27cb8ccb8ce9c3c5257b22e3307587b24e..6d233acb98d73c3e8352a4144159a89020355ee0 100644 (file)
@@ -180,7 +180,7 @@ AllocatePool (
   // Verify that there is sufficient memory to satisfy the allocation\r
   //\r
   if (AllocationSize > 0x10000) {\r
   // Verify that there is sufficient memory to satisfy the allocation\r
   //\r
   if (AllocationSize > 0x10000) {\r
-    // Please call AllcoatePages for big allocations\r
+    // Please call AllocatePages for big allocations\r
     return 0;\r
   } else {\r
 \r
     return 0;\r
   } else {\r
 \r
index 9ab8e4e35d2b11b2e2db75c1ddd8f7c94285227e..d9f563315f85b397fae66120bcd6f12de502eb2a 100644 (file)
@@ -135,7 +135,7 @@ LibRtcInitialize (
   )\r
 {\r
   //\r
   )\r
 {\r
   //\r
-  // Do some initialization if reqruied to turn on the RTC\r
+  // Do some initialization if required to turn on the RTC\r
   //\r
   return EFI_SUCCESS;\r
 }\r
   //\r
   return EFI_SUCCESS;\r
 }\r
@@ -159,7 +159,7 @@ LibRtcVirtualNotifyEvent (
   //\r
   // Only needed if you are going to support the OS calling RTC functions in virtual mode.\r
   // You will need to call EfiConvertPointer (). To convert any stored physical addresses\r
   //\r
   // Only needed if you are going to support the OS calling RTC functions in virtual mode.\r
   // You will need to call EfiConvertPointer (). To convert any stored physical addresses\r
-  // to virtual address. After the OS transistions to calling in virtual mode, all future\r
+  // to virtual address. After the OS transitions to calling in virtual mode, all future\r
   // runtime calls will be made in virtual mode.\r
   //\r
   return;\r
   // runtime calls will be made in virtual mode.\r
   //\r
   return;\r
index d824e1595346bf93775751578682eadd846c99c9..fc87115005a635e21a5a6067426cfdb9cdcc87e1 100644 (file)
@@ -297,7 +297,7 @@ ReadKeyStroke (
   SerialPortRead ((UINT8 *)&Char, 1);\r
 \r
   //\r
   SerialPortRead ((UINT8 *)&Char, 1);\r
 \r
   //\r
-  // Check for ESC sequence. This code is not techincally correct VT100 code.\r
+  // Check for ESC sequence. This code is not technically correct VT100 code.\r
   // An illegal ESC sequence represents an ESC and the characters that follow.\r
   // This code will eat one or two chars after an escape. This is done to\r
   // prevent some complex FIFOing of the data. It is good enough to get\r
   // An illegal ESC sequence represents an ESC and the characters that follow.\r
   // This code will eat one or two chars after an escape. This is done to\r
   // prevent some complex FIFOing of the data. It is good enough to get\r
index 58027973ffff78d8a14e7087f4521f47055ff7cf..df3b3cde9fa6753e17be481ef5f2f091f9799e59 100644 (file)
@@ -255,7 +255,7 @@ typedef struct {
   UINT8   MIN_PERF_W_8_52;                    // Minimum write performance for 8bit at 52MHz [210:210]\r
   UINT8   RESERVED_18;                        // Reserved [211:211]\r
   UINT32  SECTOR_COUNT;                       // Sector count [215:212]\r
   UINT8   MIN_PERF_W_8_52;                    // Minimum write performance for 8bit at 52MHz [210:210]\r
   UINT8   RESERVED_18;                        // Reserved [211:211]\r
   UINT32  SECTOR_COUNT;                       // Sector count [215:212]\r
-  UINT8   SLEEP_NOTIFICATION_TIME;            // Sleep notification timout [216:216]\r
+  UINT8   SLEEP_NOTIFICATION_TIME;            // Sleep notification timeout [216:216]\r
   UINT8   S_A_TIMEOUT;                        // Sleep/awake timeout [217:217]\r
   UINT8   PRODUCTION_STATE_AWARENESS_TIMEOUT; // Production state awareness timeout [218:218]\r
   UINT8   S_C_VCCQ;                           // Sleep current (VCCQ) [219:219]\r
   UINT8   S_A_TIMEOUT;                        // Sleep/awake timeout [217:217]\r
   UINT8   PRODUCTION_STATE_AWARENESS_TIMEOUT; // Production state awareness timeout [218:218]\r
   UINT8   S_C_VCCQ;                           // Sleep current (VCCQ) [219:219]\r