From c6a72cd79465594876626e738466441d8b3d61ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C5=93ur?= Date: Wed, 3 Jul 2019 14:25:30 +0100 Subject: EmbeddedPkg: Fix various typos Fix various typos in EmbeddedPkg. Signed-off-by: Coeur Reviewed-by: Leif Lindholm --- EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c | 2 +- EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 8 ++++---- EmbeddedPkg/Library/GdbSerialLib/GdbSerialLib.c | 8 ++++---- EmbeddedPkg/Library/PrePiHobLib/Hob.c | 2 +- EmbeddedPkg/Library/PrePiLib/FwVol.c | 4 ++-- .../Library/PrePiMemoryAllocationLib/MemoryAllocationLib.c | 2 +- EmbeddedPkg/Library/TemplateRealTimeClockLib/RealTimeClockLib.c | 4 ++-- 7 files changed, 15 insertions(+), 15 deletions(-) (limited to 'EmbeddedPkg/Library') diff --git a/EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c b/EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLib.c index 819ed42..2841689 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 738aa24..d2bafcf 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.
@@ -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 be5cda6..088e23e 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.
@@ -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 47bd008..b5cc6c5 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 797779f..881506e 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 7ce71c2..6d233ac 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 9ab8e4e..d9f5633 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; -- cgit v1.1