EmbeddedPkg: Fix various typos

Fix various typos in EmbeddedPkg.

Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
This commit is contained in:
Cœur
2019-07-03 14:25:30 +01:00
committed by Leif Lindholm
parent 16f3544ddd
commit c6a72cd794
34 changed files with 84 additions and 84 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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 {

View File

@ -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;