Fix various typos in EmbeddedPkg.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
---
.../AndroidFastboot/AndroidBootImg.c | 2 +-
.../AndroidFastboot/AndroidFastbootApp.c | 2 +-
.../Drivers/ConsolePrefDxe/ConsolePrefDxe.c | 2 +-
.../Drivers/DtPlatformDxe/DtPlatformDxe.c | 2 +-
.../Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c | 4 ++--
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c | 2 +-
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h | 2 +-
.../Drivers/Lan9118Dxe/Lan9118DxeUtil.c | 2 +-
EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c | 2 +-
EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h | 2 +-
.../SataSiI3132Dxe/SiI3132AtaPassThru.c | 2 +-
EmbeddedPkg/EmbeddedPkg.dsc | 2 +-
EmbeddedPkg/GdbStub/Arm/Processor.c | 2 +-
EmbeddedPkg/GdbStub/GdbStub.c | 20 ++++++++--------
EmbeddedPkg/GdbStub/GdbStubInternal.h | 24 +++++++++----------
EmbeddedPkg/GdbStub/Ia32/Processor.c | 4 ++--
EmbeddedPkg/GdbStub/SerialIo.c | 24 +++++++++----------
EmbeddedPkg/GdbStub/X64/Processor.c | 4 ++--
.../Include/Library/DebugAgentTimerLib.h | 2 +-
EmbeddedPkg/Include/Library/EfiFileLib.h | 6 ++---
EmbeddedPkg/Include/Library/GdbSerialLib.h | 8 +++----
EmbeddedPkg/Include/Library/PrePiLib.h | 4 ++--
.../Protocol/AndroidFastbootPlatform.h | 4 ++--
.../Include/Protocol/HardwareInterrupt.h | 2 +-
EmbeddedPkg/Include/Protocol/PeCoffLoader.h | 4 ++--
.../DebugAgentTimerLib.c | 2 +-
.../GdbSerialDebugPortLib.c | 8 +++----
.../Library/GdbSerialLib/GdbSerialLib.c | 8 +++----
EmbeddedPkg/Library/PrePiHobLib/Hob.c | 2 +-
EmbeddedPkg/Library/PrePiLib/FwVol.c | 4 ++--
.../MemoryAllocationLib.c | 2 +-
.../RealTimeClockLib.c | 4 ++--
.../SimpleTextInOutSerial/SimpleTextInOut.c | 2 +-
EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +-
34 files changed, 84 insertions(+), 84 deletions(-)
diff --git a/EmbeddedPkg/Application/AndroidFastboot/AndroidBootImg.c b/EmbeddedPkg/Application/AndroidFastboot/AndroidBootImg.c
index 896ad29afc..54b7bee162 100644
--- a/EmbeddedPkg/Application/AndroidFastboot/AndroidBootImg.c
+++ b/EmbeddedPkg/Application/AndroidFastboot/AndroidBootImg.c
@@ -9,7 +9,7 @@
#include "AndroidFastbootApp.h"
// Find the kernel and ramdisk in an Android boot.img.
-// return EFI_INVALID_PARAMTER if the boot.img is invalid (i.e. doesn't have the
+// return EFI_INVALID_PARAMETER if the boot.img is invalid (i.e. doesn't have the
// right magic value),
// return EFI_NOT_FOUND if there was no kernel in the boot.img.
// Note that the Ramdisk is optional - *Ramdisk won't be touched if it isn't
diff --git a/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c b/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c
index c8e89173e6..3e3f4b7eb2 100644
--- a/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c
+++ b/EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.c
@@ -300,7 +300,7 @@ AcceptCmd (
} else if (IS_LOWERCASE_ASCII (Command[0])) {
// Commands starting with lowercase ASCII characters are reserved for the
// Fastboot protocol. If we don't recognise it, it's probably the future
- // and there are new commmands in the protocol.
+ // and there are new commands in the protocol.
// (By the way, the "oem" command mentioned above makes this reservation
// redundant, but we handle it here to be spec-compliant)
SEND_LITERAL ("FAILCommand not recognised. Check Fastboot version.");
diff --git a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c
index 8d0ffbe88d..c250844eda 100644
--- a/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c
+++ b/EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.c
@@ -224,7 +224,7 @@ OnReadyToBoot (
@retval EFI_ALREADY_STARTED The driver already exists in system.
@retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lack of
resources.
- @retval EFI_SUCCES All the related protocols are installed on
+ @retval EFI_SUCCESS All the related protocols are installed on
the driver.
**/
diff --git a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c
index 5ec95f7491..907d46a495 100644
--- a/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c
+++ b/EmbeddedPkg/Drivers/DtPlatformDxe/DtPlatformDxe.c
@@ -92,7 +92,7 @@ InstallHiiPages (
@retval EFI_ALREADY_STARTED The driver already exists in system.
@retval EFI_OUT_OF_RESOURCES Fail to execute entry point due to lack of
resources.
- @retval EFI_SUCCES All the related protocols are installed on
+ @retval EFI_SUCCESS All the related protocols are installed on
the driver.
**/
diff --git a/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c b/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c
index 309e17b8fa..3ad453595b 100644
--- a/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c
+++ b/EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.c
@@ -33,7 +33,7 @@
*/
// TODO Make sure the controller isn't sending empty packets when it shouldn't
-// (check behaviour in cases when Buffer Length isn't explcitly set)
+// (check behaviour in cases when Buffer Length isn't explicitly set)
// ISP1582 Datasheet:
// "Data transfers preceding the status stage must first be fully
@@ -570,7 +570,7 @@ Isp1761PeriphStart (
mDataReceivedCallback = RxCallback;
mDataSentCallback = TxCallback;
- // Register a timer event so CheckInterupts gets called periodically
+ // Register a timer event so CheckInterrupts gets called periodically
Status = gBS->CreateEvent (
EVT_TIMER | EVT_NOTIFY_SIGNAL,
TPL_CALLBACK,
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
index e1375bb63e..a0fca4d6a3 100644
--- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
+++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c
@@ -1439,7 +1439,7 @@ SnpReceive (
return EFI_BUFFER_TOO_SMALL;
}
- // Set the amount of data to be transfered out of FIFO for THIS packet
+ // Set the amount of data to be transferred out of FIFO for THIS packet
// This can be used to trigger an interrupt, and status can be checked
RxCfgValue = Lan9118MmioRead32 (LAN9118_RX_CFG);
RxCfgValue &= ~(RXCFG_RX_DMA_CNT_MASK);
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h
index 62fd35965a..80df34b87e 100644
--- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h
+++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeHw.h
@@ -127,7 +127,7 @@
#define RXSTATUS_CRC_ERROR BIT1 // Cyclic Redundancy Check Error
#define RXSTATUS_DB BIT2 // Dribbling bit: Frame had non-integer multiple of 8bits
#define RXSTATUS_MII_ERROR BIT3 // Receive error during interception
-#define RXSTATUS_RXW_TO BIT4 // Incomming frame larger than 2kb
+#define RXSTATUS_RXW_TO BIT4 // Incoming frame larger than 2kb
#define RXSTATUS_FT BIT5 // 1: Ether type / 0: 802.3 type frame
#define RXSTATUS_LCOLL BIT6 // Late collision detected
#define RXSTATUS_FTL BIT7 // Frame longer than Ether type
diff --git a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c
index 94a96992ba..be4d6bb9c1 100644
--- a/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c
+++ b/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c
@@ -427,7 +427,7 @@ Lan9118Initialize (
if ((Lan9118MmioRead32 (LAN9118_E2P_CMD) & E2P_EPC_MAC_ADDRESS_LOADED) == 0) {
DEBUG ((EFI_D_ERROR, "Warning: There was an error detecting EEPROM or loading the MAC Address.\n"));
- // If we had an address before (set by StationAddess), continue to use it
+ // If we had an address before (set by StationAddress), continue to use it
if (CompareMem (&Snp->Mode->CurrentAddress, &mZeroMac, NET_ETHER_ADDR_LEN)) {
Lan9118SetMacAddress (&Snp->Mode->CurrentAddress, Snp);
} else {
diff --git a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c
index c8a6eb425c..e3e8d68895 100644
--- a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c
+++ b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxe.c
@@ -441,7 +441,7 @@ PrintIoRegisters (
DEBUG ((DEBUG_ERROR, "\nLAN91x I/O Register Dump:\n"));
- // Print currrent bank select register
+ // Print current bank select register
Value = MmioRead16 (LanDriver->IoBase + LAN91X_BANK_OFFSET);
DEBUG ((DEBUG_ERROR, " BankSel: %d Bank Register %04x (%d)\n",
LanDriver->BankSel, Value, Value & 0x0007));
diff --git a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h
index 8aff9f167c..d13f2bc6ef 100644
--- a/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h
+++ b/EmbeddedPkg/Drivers/Lan91xDxe/Lan91xDxeHw.h
@@ -173,7 +173,7 @@
#define PTR_AUTO_INCR BIT14
#define PTR_RCV BIT15
-// Interupt Status and Mask Register Bits
+// Interrupt Status and Mask Register Bits
#define IST_RCV BIT0
#define IST_TX BIT1
#define IST_TX_EMPTY BIT2
diff --git a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c
index 366bf484ec..f6a723adfb 100644
--- a/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c
+++ b/EmbeddedPkg/Drivers/SataSiI3132Dxe/SiI3132AtaPassThru.c
@@ -634,7 +634,7 @@ SiI3132GetDevice (
return EFI_UNSUPPORTED;
} else {
*Port = ((SATA_DEVICE_PATH*)DevicePath)->Lun;
- // Return the first Sata Sevice as there should be only one directly connected
+ // Return the first Sata Device as there should be only one directly connected
*PortMultiplierPort = ((SATA_SI3132_DEVICE*)SataSiI3132Instance->Ports[*Port].Devices.ForwardLink)->Index;
return EFI_SUCCESS;
}
diff --git a/EmbeddedPkg/EmbeddedPkg.dsc b/EmbeddedPkg/EmbeddedPkg.dsc
index 863bce3a19..a8a151eb40 100644
--- a/EmbeddedPkg/EmbeddedPkg.dsc
+++ b/EmbeddedPkg/EmbeddedPkg.dsc
@@ -172,7 +172,7 @@
# Values are in EFI Pages (4K). DXE Core will make sure that
# at least this much of each type of memory can be allocated
# from a single memory range. This way you only end up with
-# maximum of two fragements for each type in the memory map
+# maximum of two fragments for each type in the memory map
# (the memory used, and the free memory that was prereserved
# but not used).
#
diff --git a/EmbeddedPkg/GdbStub/Arm/Processor.c b/EmbeddedPkg/GdbStub/Arm/Processor.c
index 5c00a976e4..f15d356c44 100644
--- a/EmbeddedPkg/GdbStub/Arm/Processor.c
+++ b/EmbeddedPkg/GdbStub/Arm/Processor.c
@@ -298,7 +298,7 @@ CHAR8
/** ‘P n...=r...’
Writes the new value of n-th register received into the input buffer to the n-th register
@param SystemContext Register content at time of the exception
- @param InBuffer Ponter to the input buffer received from gdb server
+ @param InBuffer Pointer to the input buffer received from gdb server
**/
VOID
WriteNthRegister (
diff --git a/EmbeddedPkg/GdbStub/GdbStub.c b/EmbeddedPkg/GdbStub/GdbStub.c
index eda5ba143a..7f2a5ed200 100644
--- a/EmbeddedPkg/GdbStub/GdbStub.c
+++ b/EmbeddedPkg/GdbStub/GdbStub.c
@@ -2,7 +2,7 @@
UEFI driver that implements a GDB stub
Note: Any code in the path of the Serial IO output can not call DEBUG as will
- will blow out the stack. Serial IO calls DEBUG, debug calls Serail IO, ...
+ will blow out the stack. Serial IO calls DEBUG, debug calls Serial IO, ...
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
@@ -260,10 +260,10 @@ TransferFromMemToOutBufAndSend (
Send a GDB Remote Serial Protocol Packet
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
- the packet teminating character '#' and the two digit checksum.
+ the packet terminating character '#' and the two digit checksum.
If an ack '+' is not sent resend the packet, but timeout eventually so we don't end up
- in an infinit loop. This is so if you unplug the debugger code just keeps running
+ in an infinite loop. This is so if you unplug the debugger code just keeps running
@param PacketData Payload data for the packet
@@ -317,7 +317,7 @@ SendPacket (
Receive a GDB Remote Serial Protocol Packet
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
- the packet teminating character '#' and the two digit checksum.
+ the packet terminating character '#' and the two digit checksum.
If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
@@ -407,7 +407,7 @@ EmptyBuffer (
Converts an 8-bit Hex Char into a INTN.
@param Char the hex character to be converted into UINTN
- @retval a INTN, from 0 to 15, that corressponds to Char
+ @retval a INTN, from 0 to 15, that corresponds to Char
-1 if Char is not a hex character
**/
INTN
@@ -596,7 +596,7 @@ ConvertEFItoGDBtype (
/** "m addr,length"
- Find the Length of the area to read and the start addres. Finally, pass them to
+ Find the Length of the area to read and the start address. Finally, pass them to
another function, TransferFromMemToOutBufAndSend, that will read from that memory space and
send it as a packet.
**/
@@ -644,7 +644,7 @@ ReadFromMemory (
/** "M addr,length :XX..."
- Find the Length of the area in bytes to write and the start addres. Finally, pass them to
+ Find the Length of the area in bytes to write and the start address. Finally, pass them to
another function, TransferFromInBufToMem, that will write to that memory space the info in
the input buffer.
**/
@@ -918,7 +918,7 @@ PeCoffLoaderGetDebuggerInfo (
break;
default:
//
- // For unknow Machine field, use Magic in optional Header
+ // For unknown Machine field, use Magic in optional Header
//
Magic = Hdr.Pe32->OptionalHeader.Magic;
}
@@ -1088,7 +1088,7 @@ QxferLibrary (
/**
- Exception Hanldler for GDB. It will be called for all exceptions
+ Exception Handler for GDB. It will be called for all exceptions
registered via the gExceptionType[] array.
@param ExceptionType Exception that is being processed
@@ -1157,7 +1157,7 @@ GdbExceptionHandler (
case 'q':
// General Query Packets
if (AsciiStrnCmp (gInBuffer, "qSupported", 10) == 0) {
- // return what we currently support, we don't parse what gdb suports
+ // return what we currently support, we don't parse what gdb supports
AsciiSPrint (gOutBuffer, MAX_BUF_SIZE, "qXfer:libraries:read+;PacketSize=%d", MAX_BUF_SIZE);
SendPacket (gOutBuffer);
} else if (AsciiStrnCmp (gInBuffer, "qXfer:libraries:read::", 22) == 0) {
diff --git a/EmbeddedPkg/GdbStub/GdbStubInternal.h b/EmbeddedPkg/GdbStub/GdbStubInternal.h
index 6d3d6a7fe1..b8346d7a54 100644
--- a/EmbeddedPkg/GdbStub/GdbStubInternal.h
+++ b/EmbeddedPkg/GdbStub/GdbStubInternal.h
@@ -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
#define GDB_EBADMEMLENGBUFSIZE 12 // the buffer that stores Length is not the right size
#define GDB_EBADMEMLENGTH 13 // Length, the given number of bytes to read or write, is not the right size
-#define GDB_EBADMEMDATA 14 // one of the bytes or nibbles of the memory is leess than 0
+#define GDB_EBADMEMDATA 14 // one of the bytes or nibbles of the memory is less than 0
#define GDB_EBADMEMDATASIZE 15 // the memory data, 'XX..', is too short or too long
#define GDB_EBADBUFSIZE 21 // the buffer created is not the correct size
#define GDB_EINVALIDARG 31 // argument is invalid
@@ -99,7 +99,7 @@ extern CONST CHAR8 mHexToStr[];
typedef struct {
VENDOR_DEVICE_PATH VendorDevice;
- UINT32 Index; // Suport more than one
+ UINT32 Index; // Support more than one
EFI_DEVICE_PATH_PROTOCOL End;
} GDB_SERIAL_DEVICE_PATH;
@@ -210,8 +210,8 @@ extern BOOLEAN gCtrlCBreakFlag;
//
// 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
//
extern BOOLEAN gProcessingFPacket;
@@ -296,7 +296,7 @@ EmptyBuffer (
Converts an 8-bit Hex Char into a INTN.
@param Char - the hex character to be converted into UINTN
- @retval a INTN, from 0 to 15, that corressponds to Char
+ @retval a INTN, from 0 to 15, that corresponds to Char
-1 if Char is not a hex character
**/
INTN
@@ -384,7 +384,7 @@ WriteGeneralRegisters (
/** ‘m addr,length ’
- Find the Length of the area to read and the start addres. Finally, pass them to
+ Find the Length of the area to read and the start address. Finally, pass them to
another function, TransferFromMemToOutBufAndSend, that will read from that memory space and
send it as a packet.
@@ -397,7 +397,7 @@ ReadFromMemory (
/** ‘M addr,length :XX...’
- Find the Length of the area in bytes to write and the start addres. Finally, pass them to
+ Find the Length of the area in bytes to write and the start address. Finally, pass them to
another function, TransferFromInBufToMem, that will write to that memory space the info in
the input buffer.
@@ -499,7 +499,7 @@ RemoveBreakPoint(
/**
- Exception Hanldler for GDB. It will be called for all exceptions
+ Exception Handler for GDB. It will be called for all exceptions
registered via the gExceptionType[] array.
@param ExceptionType Exception that is being processed
@@ -529,7 +529,7 @@ GdbPeriodicCallBack (
/**
- Make two serail consoles: 1) StdIn and StdOut via GDB. 2) StdErr via GDB.
+ Make two serial consoles: 1) StdIn and StdOut via GDB. 2) StdErr via GDB.
These console show up on the remote system running GDB
@@ -545,10 +545,10 @@ GdbInitializeSerialConsole (
Send a GDB Remote Serial Protocol Packet
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
- the packet teminating character '#' and the two digit checksum.
+ the packet terminating character '#' and the two digit checksum.
If an ack '+' is not sent resend the packet, but timeout eventually so we don't end up
- in an infinit loop. This is so if you unplug the debugger code just keeps running
+ in an infinite loop. This is so if you unplug the debugger code just keeps running
@param PacketData Payload data for the packet
@@ -565,7 +565,7 @@ SendPacket (
Receive a GDB Remote Serial Protocol Packet
$PacketData#checksum PacketData is passed in and this function adds the packet prefix '$',
- the packet teminating character '#' and the two digit checksum.
+ the packet terminating character '#' and the two digit checksum.
If host re-starts sending a packet without ending the previous packet, only the last valid packet is processed.
(In other words, if received packet is '$12345$12345$123456#checksum', only '$123456#checksum' will be processed.)
diff --git a/EmbeddedPkg/GdbStub/Ia32/Processor.c b/EmbeddedPkg/GdbStub/Ia32/Processor.c
index e0bdf98d9e..8dc768f180 100644
--- a/EmbeddedPkg/GdbStub/Ia32/Processor.c
+++ b/EmbeddedPkg/GdbStub/Ia32/Processor.c
@@ -285,7 +285,7 @@ BasicWriteRegister (
Writes the new value of n-th register received into the input buffer to the n-th register
@param SystemContext Register content at time of the exception
- @param InBuffer Ponter to the input buffer received from gdb server
+ @param InBuffer Pointer to the input buffer received from gdb server
**/
VOID
EFIAPI
@@ -667,7 +667,7 @@ EnableDebugRegister (
/**
- Returns register number 0 - 3 for the maching debug register.
+ Returns register number 0 - 3 for the matching debug register.
This function compares incoming Address, Type, Length and
if there is a match then it returns the appropriate register number.
In case of mismatch, function returns EFI_NOT_FOUND message.
diff --git a/EmbeddedPkg/GdbStub/SerialIo.c b/EmbeddedPkg/GdbStub/SerialIo.c
index 4d18191685..08d1763c30 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,
diff --git a/EmbeddedPkg/GdbStub/X64/Processor.c b/EmbeddedPkg/GdbStub/X64/Processor.c
index 20eabf0c1d..c6599a2b2b 100644
--- a/EmbeddedPkg/GdbStub/X64/Processor.c
+++ b/EmbeddedPkg/GdbStub/X64/Processor.c
@@ -254,7 +254,7 @@ BasicWriteRegister (
Writes the new value of n-th register received into the input buffer to the n-th register
@param SystemContext Register content at time of the exception
- @param InBuffer Ponter to the input buffer received from gdb server
+ @param InBuffer Pointer to the input buffer received from gdb server
**/
VOID
EFIAPI
@@ -638,7 +638,7 @@ EnableDebugRegister (
/**
- Returns register number 0 - 3 for the maching debug register.
+ Returns register number 0 - 3 for the matching debug register.
This function compares incoming Address, Type, Length and
if there is a match then it returns the appropriate register number.
In case of mismatch, function returns EFI_NOT_FOUND message.
diff --git a/EmbeddedPkg/Include/Library/DebugAgentTimerLib.h b/EmbeddedPkg/Include/Library/DebugAgentTimerLib.h
index 0fcb86e061..eb499dbc1b 100644
--- a/EmbeddedPkg/Include/Library/DebugAgentTimerLib.h
+++ b/EmbeddedPkg/Include/Library/DebugAgentTimerLib.h
@@ -17,7 +17,7 @@
/**
Setup all the hardware needed for the debug agents timer.
- This function is used to set up debug enviroment. It may enable interrupts.
+ This function is used to set up debug environment. It may enable interrupts.
**/
VOID
diff --git a/EmbeddedPkg/Include/Library/EfiFileLib.h b/EmbeddedPkg/Include/Library/EfiFileLib.h
index 8fc7d71b4e..0544b6e200 100644
--- a/EmbeddedPkg/Include/Library/EfiFileLib.h
+++ b/EmbeddedPkg/Include/Library/EfiFileLib.h
@@ -1,6 +1,6 @@
/** @file
Library functions that perform file IO. Memory buffer, file system, and
- fimrware volume operations are supproted.
+ firmware volume operations are supported.
Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
@@ -12,7 +12,7 @@
current mounted device concept of current working directory concept implement
by this library.
- Device names are case insensative and only check the leading characters for
+ Device names are case insensitive and only check the leading characters for
unique matches. Thus the following are all the same:
LoadFile0:
l0:
@@ -24,7 +24,7 @@
l1: - EFI LoadFile device one.
B0: - EFI BlockIo zero.
fs3: - EFI Simple File System device 3
- Fv2: - EFI Firmware VOlume device 2
+ Fv2: - EFI Firmware Volume device 2
1.2.3.4:name - TFTP IP and file name
**/
diff --git a/EmbeddedPkg/Include/Library/GdbSerialLib.h b/EmbeddedPkg/Include/Library/GdbSerialLib.h
index 9f1c80145e..b45645ae61 100644
--- a/EmbeddedPkg/Include/Library/GdbSerialLib.h
+++ b/EmbeddedPkg/Include/Library/GdbSerialLib.h
@@ -1,5 +1,5 @@
/** @file
- Basic serial IO abstaction for GDB
+ Basic serial IO abstraction for GDB
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
@@ -13,7 +13,7 @@
/**
- 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. This call is optional as the serial
port will be set up with defaults base on PCD values.
@@ -22,13 +22,13 @@
@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.
@retval EFI_SUCCESS The device was configured.
- @retval EFI_DEVICE_ERROR The serial device could not be coonfigured.
+ @retval EFI_DEVICE_ERROR The serial device could not be configured.
**/
RETURN_STATUS
diff --git a/EmbeddedPkg/Include/Library/PrePiLib.h b/EmbeddedPkg/Include/Library/PrePiLib.h
index ee8d4ef4d9..54f8e1e582 100644
--- a/EmbeddedPkg/Include/Library/PrePiLib.h
+++ b/EmbeddedPkg/Include/Library/PrePiLib.h
@@ -171,7 +171,7 @@ FfsProcessFvFile (
Search through every FV until you find a file of type FileType
@param FileType File handle of a Fv type file.
- @param Volumehandle On succes Volume Handle of the match
+ @param Volumehandle On success Volume Handle of the match
@param FileHandle On success File Handle of the match
@retval EFI_NOT_FOUND FV image can't be found.
@@ -492,7 +492,7 @@ BuildFvHob (
);
/**
- Builds a Firmware Volume HOB and a resrouce descriptor hob
+ Builds a Firmware Volume HOB and a resource descriptor hob
This function builds a Firmware Volume HOB.
It can only be invoked during PEI phase;
diff --git a/EmbeddedPkg/Include/Protocol/AndroidFastbootPlatform.h b/EmbeddedPkg/Include/Protocol/AndroidFastbootPlatform.h
index c013ce2ea2..ec15a35264 100644
--- a/EmbeddedPkg/Include/Protocol/AndroidFastbootPlatform.h
+++ b/EmbeddedPkg/Include/Protocol/AndroidFastbootPlatform.h
@@ -36,7 +36,7 @@ EFI_STATUS
/*
To be called when Fastboot is finished and we aren't rebooting or booting an
- image. Undo initialisation, free resrouces.
+ image. Undo initialisation, free resources.
*/
typedef
VOID
@@ -49,7 +49,7 @@ VOID
PartitionName, with the image pointed to by Buffer, whose size is BufferSize.
@param[in] PartitionName Null-terminated name of partition to write.
- @param[in] BufferSize Size of Buffer in byets.
+ @param[in] BufferSize Size of Buffer in bytes.
@param[in] Buffer Data to write to partition.
@retval EFI_NOT_FOUND No such partition.
diff --git a/EmbeddedPkg/Include/Protocol/HardwareInterrupt.h b/EmbeddedPkg/Include/Protocol/HardwareInterrupt.h
index 0489d1fc06..ca95fa93c4 100644
--- a/EmbeddedPkg/Include/Protocol/HardwareInterrupt.h
+++ b/EmbeddedPkg/Include/Protocol/HardwareInterrupt.h
@@ -131,7 +131,7 @@ EFI_STATUS
);
/**
- Signal to the hardware that the End Of Intrrupt state
+ Signal to the hardware that the End Of Interrupt state
has been reached.
@param This Instance pointer for this protocol
diff --git a/EmbeddedPkg/Include/Protocol/PeCoffLoader.h b/EmbeddedPkg/Include/Protocol/PeCoffLoader.h
index 69c2f4a322..56557901b0 100644
--- a/EmbeddedPkg/Include/Protocol/PeCoffLoader.h
+++ b/EmbeddedPkg/Include/Protocol/PeCoffLoader.h
@@ -162,13 +162,13 @@ RETURN_STATUS
/**
- Reapply fixups on a fixed up PE32/PE32+ image to allow virutal calling at EFI
+ Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
runtime.
This function reapplies relocation fixups to the PE/COFF image specified by ImageBase
and ImageSize so the image will execute correctly when the PE/COFF image is mapped
to the address specified by VirtualImageBase. RelocationData must be identical
- to the FiuxupData buffer from the PE_COFF_LOADER_IMAGE_CONTEXT structure
+ to the FixupData buffer from the PE_COFF_LOADER_IMAGE_CONTEXT structure
after this PE/COFF image was relocated with PeCoffLoaderRelocateImage().
Note that if the platform does not maintain coherency between the instruction cache(s) and the data
diff --git a/EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c b/EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c
index 819ed42686..2841689796 100644
--- a/EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c
+++ b/EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c
@@ -15,7 +15,7 @@
/**
Setup all the hardware needed for the debug agents timer.
- This function is used to set up debug enviroment. It may enable interrupts.
+ This function is used to set up debug environment. It may enable interrupts.
**/
VOID
diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
index 738aa24ae5..d2bafcf69b 100644
--- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
+++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c
@@ -1,5 +1,5 @@
/** @file
- Basic serial IO abstaction for GDB
+ Basic serial IO abstraction for GDB
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
@@ -50,7 +50,7 @@ GdbSerialLibDebugPortConstructor (
/**
- 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. This call is optional as the serial
port will be set up with defaults base on PCD values.
@@ -59,13 +59,13 @@ GdbSerialLibDebugPortConstructor (
@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.
@retval EFI_SUCCESS The device was configured.
- @retval EFI_DEVICE_ERROR The serial device could not be coonfigured.
+ @retval EFI_DEVICE_ERROR The serial device could not be configured.
**/
RETURN_STATUS
diff --git a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
index be5cda61c5..088e23e0d8 100644
--- a/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
+++ b/EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c
@@ -1,5 +1,5 @@
/** @file
- Basic serial IO abstaction for GDB
+ Basic serial IO abstraction for GDB
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
@@ -80,7 +80,7 @@ GdbSerialLibConstructor (
/**
- 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. This call is optional as the serial
port will be set up with defaults base on PCD values.
@@ -89,13 +89,13 @@ GdbSerialLibConstructor (
@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.
@retval EFI_SUCCESS The device was configured.
- @retval EFI_DEVICE_ERROR The serial device could not be coonfigured.
+ @retval EFI_DEVICE_ERROR The serial device could not be configured.
**/
RETURN_STATUS
diff --git a/EmbeddedPkg/Library/PrePiHobLib/Hob.c b/EmbeddedPkg/Library/PrePiHobLib/Hob.c
index 47bd00808d..b5cc6c5d8f 100644
--- a/EmbeddedPkg/Library/PrePiHobLib/Hob.c
+++ b/EmbeddedPkg/Library/PrePiHobLib/Hob.c
@@ -812,7 +812,7 @@ BuildPeCoffLoaderHob (
BuildGuidDataHob (&gPeCoffLoaderProtocolGuid, &Ptr, sizeof (VOID *));
}
-// May want to put this into a library so you only need the PCD setings if you are using the feature?
+// May want to put this into a library so you only need the PCD settings if you are using the feature?
VOID
BuildMemoryTypeInformationHob (
VOID
diff --git a/EmbeddedPkg/Library/PrePiLib/FwVol.c b/EmbeddedPkg/Library/PrePiLib/FwVol.c
index 797779f845..881506eddd 100644
--- a/EmbeddedPkg/Library/PrePiLib/FwVol.c
+++ b/EmbeddedPkg/Library/PrePiLib/FwVol.c
@@ -732,7 +732,7 @@ FfsGetVolumeInfo (
Search through every FV until you find a file of type FileType
@param FileType File handle of a Fv type file.
- @param Volumehandle On succes Volume Handle of the match
+ @param Volumehandle On success Volume Handle of the match
@param FileHandle On success File Handle of the match
@retval EFI_NOT_FOUND FV image can't be found.
@@ -857,7 +857,7 @@ FfsProcessFvFile (
//
- // Inform HOB consumer phase, i.e. DXE core, the existance of this FV
+ // Inform HOB consumer phase, i.e. DXE core, the existence of this FV
//
BuildFvHob ((EFI_PHYSICAL_ADDRESS) (UINTN) FvImageInfo.FvStart, FvImageInfo.FvSize);
diff --git a/EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c b/EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c
index 7ce71c27cb..6d233acb98 100644
--- a/EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c
+++ b/EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c
@@ -180,7 +180,7 @@ AllocatePool (
// Verify that there is sufficient memory to satisfy the allocation
//
if (AllocationSize > 0x10000) {
- // Please call AllcoatePages for big allocations
+ // Please call AllocatePages for big allocations
return 0;
} else {
diff --git a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
index 9ab8e4e35d..d9f563315f 100644
--- a/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
+++ b/EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c
@@ -135,7 +135,7 @@ LibRtcInitialize (
)
{
//
- // Do some initialization if reqruied to turn on the RTC
+ // Do some initialization if required to turn on the RTC
//
return EFI_SUCCESS;
}
@@ -159,7 +159,7 @@ LibRtcVirtualNotifyEvent (
//
// Only needed if you are going to support the OS calling RTC functions in virtual mode.
// You will need to call EfiConvertPointer (). To convert any stored physical addresses
- // to virtual address. After the OS transistions to calling in virtual mode, all future
+ // to virtual address. After the OS transitions to calling in virtual mode, all future
// runtime calls will be made in virtual mode.
//
return;
diff --git a/EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c b/EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c
index d824e15953..fc87115005 100644
--- a/EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c
+++ b/EmbeddedPkg/SimpleTextInOutSerial/SimpleTextInOut.c
@@ -297,7 +297,7 @@ ReadKeyStroke (
SerialPortRead ((UINT8 *)&Char, 1);
//
- // Check for ESC sequence. This code is not techincally correct VT100 code.
+ // Check for ESC sequence. This code is not technically correct VT100 code.
// An illegal ESC sequence represents an ESC and the characters that follow.
// This code will eat one or two chars after an escape. This is done to
// prevent some complex FIFOing of the data. It is good enough to get
diff --git a/EmbeddedPkg/Universal/MmcDxe/Mmc.h b/EmbeddedPkg/Universal/MmcDxe/Mmc.h
index 58027973ff..df3b3cde9f 100644
--- a/EmbeddedPkg/Universal/MmcDxe/Mmc.h
+++ b/EmbeddedPkg/Universal/MmcDxe/Mmc.h
@@ -255,7 +255,7 @@ typedef struct {
UINT8 MIN_PERF_W_8_52; // Minimum write performance for 8bit at 52MHz [210:210]
UINT8 RESERVED_18; // Reserved [211:211]
UINT32 SECTOR_COUNT; // Sector count [215:212]
- UINT8 SLEEP_NOTIFICATION_TIME; // Sleep notification timout [216:216]
+ UINT8 SLEEP_NOTIFICATION_TIME; // Sleep notification timeout [216:216]
UINT8 S_A_TIMEOUT; // Sleep/awake timeout [217:217]
UINT8 PRODUCTION_STATE_AWARENESS_TIMEOUT; // Production state awareness timeout [218:218]
UINT8 S_C_VCCQ; // Sleep current (VCCQ) [219:219]
--
2.20.1 (Apple Git-117)