summaryrefslogtreecommitdiffstats
path: root/EmbeddedPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'EmbeddedPkg/Library')
-rw-r--r--EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c2
-rw-r--r--EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c8
-rw-r--r--EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c8
-rw-r--r--EmbeddedPkg/Library/PrePiHobLib/Hob.c2
-rw-r--r--EmbeddedPkg/Library/PrePiLib/FwVol.c4
-rw-r--r--EmbeddedPkg/Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c2
-rw-r--r--EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c4
7 files changed, 15 insertions, 15 deletions
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;