Reviewed-by: Ruiyu Ni <[email protected]> > -----Original Message----- > From: Gary Lin [mailto:[email protected]] > Sent: Wednesday, October 19, 2016 3:01 PM > To: [email protected] > Cc: Ni, Ruiyu <[email protected]> > Subject: [PATCH 06/33] DuetPkg: Fix typos in comments > > - TURE -> TRUE > - successull -> successfully > - Libary -> Library > - Incude -> Include > - futhure -> future > - Predfined -> Predefined > - minimue -> minimum > - predeined -> predefined > - excute -> execute > - dirver -> driver > - hanlde -> handle > - boundry -> boundary > > Cc: Ruiyu Ni <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Gary Lin <[email protected]> > --- > DuetPkg/BiosVideoThunkDxe/BiosVideo.c | 4 ++-- > DuetPkg/DxeIpl/HobGeneration.c | 2 +- > DuetPkg/EfiLdr/EfiLoader.c | 2 +- > DuetPkg/EfiLdr/LzmaDecompress.h | 2 +- > DuetPkg/EfiLdr/TianoDecompress.c | 6 +++--- > DuetPkg/EfiLdr/TianoDecompress.h | 4 ++-- > DuetPkg/Library/DuetBdsLib/BdsPlatform.c | 14 +++++++------- > DuetPkg/PciBusNoEnumerationDxe/PciBus.h | 2 +- > 8 files changed, 18 insertions(+), 18 deletions(-) > > diff --git a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c > b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c > index da2c877..dc367e9 100644 > --- a/DuetPkg/BiosVideoThunkDxe/BiosVideo.c > +++ b/DuetPkg/BiosVideoThunkDxe/BiosVideo.c > @@ -94,7 +94,7 @@ VESA_BIOS_EXTENSIONS_EDID_TIMING > mEstablishedEdidTiming[] = { }; > > /** > - Install child hanlde for a detect BiosVideo device and install related > protocol > + Install child handle for a detect BiosVideo device and install > + related protocol > into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL. > > @param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL > @@ -391,7 +391,7 @@ BiosVideoDriverBindingStop ( } > > /** > - Install child hanlde for a detect BiosVideo device and install related > protocol > + Install child handle for a detect BiosVideo device and install > + related protocol > into this handle, such as EFI_GRAPHIC_OUTPUT_PROTOCOL. > > @param This Instance pointer of EFI_DRIVER_BINDING_PROTOCOL > diff --git a/DuetPkg/DxeIpl/HobGeneration.c > b/DuetPkg/DxeIpl/HobGeneration.c index fac74b0..03e44d5 100644 > --- a/DuetPkg/DxeIpl/HobGeneration.c > +++ b/DuetPkg/DxeIpl/HobGeneration.c > @@ -727,7 +727,7 @@ PrepareHobBfv ( > > // > // Calculate BFV location at top of the memory region. > - // This is like a RAM Disk. Align to page boundry. > + // This is like a RAM Disk. Align to page boundary. > // > //BfvLengthPageSize = EFI_PAGES_TO_SIZE (EFI_SIZE_TO_PAGES > (BfvLength)); > > diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c index > b23966e..ac950b5 100644 > --- a/DuetPkg/EfiLdr/EfiLoader.c > +++ b/DuetPkg/EfiLdr/EfiLoader.c > @@ -66,7 +66,7 @@ EfiLoader ( > > // > // Add all EfiConventionalMemory descriptors to the table. If there are > partial pages, then > - // round the start address up to the next page, and round the length down > to a page boundry. > + // round the start address up to the next page, and round the length down > to a page boundary. > // > BiosMemoryMap = (BIOS_MEMORY_MAP *) (UINTN) > BiosMemoryMapBaseAddress; > NumberOfMemoryMapEntries = 0; > diff --git a/DuetPkg/EfiLdr/LzmaDecompress.h > b/DuetPkg/EfiLdr/LzmaDecompress.h index 7d20fda..e244df7 100644 > --- a/DuetPkg/EfiLdr/LzmaDecompress.h > +++ b/DuetPkg/EfiLdr/LzmaDecompress.h > @@ -23,7 +23,7 @@ > @param DestinationSize The size of destination buffer. > @param ScratchSize The size of scratch buffer. > > - @retval RETURN_SUCCESS - The size of destination buffer and the > size > of scratch buffer are successull retrieved. > + @retval RETURN_SUCCESS - The size of destination buffer and the > size of scratch buffer are successfully retrieved. > @retval RETURN_INVALID_PARAMETER - The source data is corrupted **/ > RETURN_STATUS diff --git a/DuetPkg/EfiLdr/TianoDecompress.c > b/DuetPkg/EfiLdr/TianoDecompress.c > index 6fed7a1..b504e8e 100644 > --- a/DuetPkg/EfiLdr/TianoDecompress.c > +++ b/DuetPkg/EfiLdr/TianoDecompress.c > @@ -675,7 +675,7 @@ Arguments: > > Returns: > > - EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successull retrieved. > + EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successfully retrieved. > EFI_INVALID_PARAMETER - The source data is corrupted > > --*/ > @@ -844,7 +844,7 @@ Arguments: > > Returns: > > - EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successull retrieved. > + EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successfully retrieved. > EFI_INVALID_PARAMETER - The source data is corrupted > > --*/ > @@ -928,7 +928,7 @@ Arguments: > > Returns: > > - EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successull retrieved. > + EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successfully retrieved. > EFI_INVALID_PARAMETER - The source data is corrupted > > --*/ > diff --git a/DuetPkg/EfiLdr/TianoDecompress.h > b/DuetPkg/EfiLdr/TianoDecompress.h > index 0d85b7b..e9cb016 100644 > --- a/DuetPkg/EfiLdr/TianoDecompress.h > +++ b/DuetPkg/EfiLdr/TianoDecompress.h > @@ -1,5 +1,5 @@ > /** @file > - Internal include file for Base UEFI Decompress Libary. > + Internal include file for Base UEFI Decompress Library. > > Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> > This program and the accompanying materials @@ -47,7 +47,7 @@ > Arguments: > > Returns: > > - EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successull retrieved. > + EFI_SUCCESS - The size of destination buffer and the size of > scratch > buffer are successfully retrieved. > EFI_INVALID_PARAMETER - The source data is corrupted > > --*/ > diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c > b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c > index 1875dc9..d85e1fd 100644 > --- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.c > +++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.c > @@ -383,7 +383,7 @@ PlatformBdsInit ( > > Routine Description: > > - Platform Bds init. Incude the platform firmware vendor, revision > + Platform Bds init. Include the platform firmware vendor, revision > and so crc check. > > Arguments: > @@ -644,7 +644,7 @@ GetGopDevicePath ( > } > > // > - // Try to connect this handle, so that GOP dirver could start on this > + // Try to connect this handle, so that GOP driver could start on this > // device and create child handles with GraphicsOutput Protocol installed > // on them, then we get device paths of these child handles and select > // them as possible console device. > @@ -676,7 +676,7 @@ GetGopDevicePath ( > // In current implementation, we only enable one of the child handles > // as console device, i.e. sotre one of the child handle's device > // path to variable "ConOut" > - // In futhure, we could select all child handles to be console device > + // In future, we could select all child handles to be console > + device > // > > *GopDevicePath = TempDevicePath; @@ -907,7 +907,7 @@ Routine > Description: > > Arguments: > > - PlatformConsole - Predfined platform default console device array. > + PlatformConsole - Predefined platform default console device array. > > Returns: > > @@ -950,7 +950,7 @@ Returns: > > // > // Have chance to connect the platform default console, > - // the platform default console is the minimue device group > + // the platform default console is the minimum device group > // the platform should support > // > for (Index = 0; PlatformConsole[Index].DevicePath != NULL; ++Index) > { @@ -1001,7 +1001,7 @@ PlatformBdsConnectSequence ( > > Routine Description: > > - Connect with predeined platform connect sequence, > + Connect with predefined platform connect sequence, > the OEM/IBV can customize with their own connect sequence. > > Arguments: > @@ -1141,7 +1141,7 @@ PlatformBdsPolicyBehavior ( > > Routine Description: > > - The function will excute with as the platform policy, current policy > + The function will execute with as the platform policy, current policy > is driven by boot mode. IBV/OEM can customize this code for their specific > policy action. > > diff --git a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h > b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h > index 3ddb5bf..150196c 100644 > --- a/DuetPkg/PciBusNoEnumerationDxe/PciBus.h > +++ b/DuetPkg/PciBusNoEnumerationDxe/PciBus.h > @@ -137,7 +137,7 @@ typedef struct _PCI_IO_DEVICE { > LIST_ENTRY ChildList; > > // > - // TURE if the PCI bus driver creates the handle for this PCI device > + // TRUE if the PCI bus driver creates the handle for this PCI device > // > BOOLEAN Registered; > > -- > 2.10.1
_______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

