From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5E9FE1A1E60 for ; Wed, 19 Oct 2016 00:46:52 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP; 19 Oct 2016 00:46:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,513,1473145200"; d="scan'208";a="21233674" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 19 Oct 2016 00:46:51 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 00:46:51 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 00:46:51 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.209]) by shsmsx102.ccr.corp.intel.com ([169.254.2.206]) with mapi id 14.03.0248.002; Wed, 19 Oct 2016 15:46:48 +0800 From: "Ni, Ruiyu" To: Gary Lin , "edk2-devel@lists.01.org" Thread-Topic: [PATCH 06/33] DuetPkg: Fix typos in comments Thread-Index: AQHSKdbRrSRNkNtH4k6vu4LJwgFwMKCvZjGg Date: Wed, 19 Oct 2016 07:46:48 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D58E3881F@SHSMSX104.ccr.corp.intel.com> References: <20161019070138.16424-1-glin@suse.com> <20161019070138.16424-7-glin@suse.com> In-Reply-To: <20161019070138.16424-7-glin@suse.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 06/33] DuetPkg: Fix typos in comments X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 07:46:52 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni > -----Original Message----- > From: Gary Lin [mailto:glin@suse.com] > Sent: Wednesday, October 19, 2016 3:01 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu > Subject: [PATCH 06/33] DuetPkg: Fix typos in comments >=20 > - TURE -> TRUE > - successull -> successfully > - Libary -> Library > - Incude -> Include > - futhure -> future > - Predfined -> Predefined > - minimue -> minimum > - predeined -> predefined > - excute -> execute > - dirver -> driver > - hanlde -> handle > - boundry -> boundary >=20 > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Gary Lin > --- > 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(-) >=20 > 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[] =3D { }; >=20 > /** > - 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. >=20 > @param This Instance pointer of EFI_DRIVER_BINDING_PROT= OCOL > @@ -391,7 +391,7 @@ BiosVideoDriverBindingStop ( } >=20 > /** > - 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. >=20 > @param This Instance pointer of EFI_DRIVER_BINDING_PROT= OCOL > 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 ( >=20 > // > // 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 =3D EFI_PAGES_TO_SIZE (EFI_SIZE_TO_PAGES > (BfvLength)); >=20 > diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c inde= x > b23966e..ac950b5 100644 > --- a/DuetPkg/EfiLdr/EfiLoader.c > +++ b/DuetPkg/EfiLdr/EfiLoader.c > @@ -66,7 +66,7 @@ EfiLoader ( >=20 > // > // Add all EfiConventionalMemory descriptors to the table. If there a= re > partial pages, then > - // round the start address up to the next page, and round the length d= own > to a page boundry. > + // round the start address up to the next page, and round the length d= own > to a page boundary. > // > BiosMemoryMap =3D (BIOS_MEMORY_MAP *) (UINTN) > BiosMemoryMapBaseAddress; > NumberOfMemoryMapEntries =3D 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. >=20 > - @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: >=20 > Returns: >=20 > - 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 >=20 > --*/ > @@ -844,7 +844,7 @@ Arguments: >=20 > Returns: >=20 > - 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 >=20 > --*/ > @@ -928,7 +928,7 @@ Arguments: >=20 > Returns: >=20 > - 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 >=20 > --*/ > 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. >=20 > Copyright (c) 2006, Intel Corporation. All rights reserved.
> This program and the accompanying materials @@ -47,7 +47,7 @@ > Arguments: >=20 > Returns: >=20 > - 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 >=20 > --*/ > 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 ( >=20 > Routine Description: >=20 > - Platform Bds init. Incude the platform firmware vendor, revision > + Platform Bds init. Include the platform firmware vendor, revision > and so crc check. >=20 > Arguments: > @@ -644,7 +644,7 @@ GetGopDevicePath ( > } >=20 > // > - // 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 instal= led > // 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 ha= ndles > // as console device, i.e. sotre one of the child handle's devic= e > // path to variable "ConOut" > - // In futhure, we could select all child handles to be console d= evice > + // In future, we could select all child handles to be console > + device > // >=20 > *GopDevicePath =3D TempDevicePath; @@ -907,7 +907,7 @@ Routine > Description: >=20 > Arguments: >=20 > - PlatformConsole - Predfined platform default console device ar= ray. > + PlatformConsole - Predefined platform default console device a= rray. >=20 > Returns: >=20 > @@ -950,7 +950,7 @@ Returns: >=20 > // > // 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 =3D 0; PlatformConsole[Index].DevicePath !=3D NULL; ++Ind= ex) > { @@ -1001,7 +1001,7 @@ PlatformBdsConnectSequence ( >=20 > Routine Description: >=20 > - Connect with predeined platform connect sequence, > + Connect with predefined platform connect sequence, > the OEM/IBV can customize with their own connect sequence. >=20 > Arguments: > @@ -1141,7 +1141,7 @@ PlatformBdsPolicyBehavior ( >=20 > Routine Description: >=20 > - 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 spec= ific > policy action. >=20 > 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; >=20 > // > - // 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; >=20 > -- > 2.10.1