From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5D81D1A1E6B for ; Wed, 19 Oct 2016 18:58:56 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP; 19 Oct 2016 18:58:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,516,1473145200"; d="scan'208";a="21543527" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 19 Oct 2016 18:58:55 -0700 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 18:58:55 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 18:58:55 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.206]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0248.002; Thu, 20 Oct 2016 09:58:53 +0800 From: "Fan, Jeff" To: Gary Lin , "edk2-devel@lists.01.org" Thread-Topic: [PATCH 32/33] UefiCpuPkg: Fix typos in comments Thread-Index: AQHSKdcCMq1yImr1jUKhAlIh8iE21qCwlf0g Date: Thu, 20 Oct 2016 01:58:51 +0000 Message-ID: <542CF652F8836A4AB8DBFAAD40ED192A4A2B0113@shsmsx102.ccr.corp.intel.com> References: <20161019070138.16424-1-glin@suse.com> <20161019070138.16424-33-glin@suse.com> In-Reply-To: <20161019070138.16424-33-glin@suse.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNWRmOTlkY2EtYjhkMC00N2U5LThiZGYtNjAzM2UzNjNkZmZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6InpWWlJxZFRaRnA3ciszRkd3eHpjSGlzcXBkdE9ZSnhUMVJMaVpGOVwvT1lJPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 32/33] UefiCpuPkg: 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: Thu, 20 Oct 2016 01:58:56 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jeff Fan Could you please help to fix typo *ruturn* when you commit the patch. - @return The ruturn value of this paramter indicate= s the number of + @return The ruturn value of this parameter indicat= es the number of Thanks! -----Original Message----- From: Gary Lin [mailto:glin@suse.com]=20 Sent: Wednesday, October 19, 2016 3:02 PM To: edk2-devel@lists.01.org Cc: Fan, Jeff Subject: [PATCH 32/33] UefiCpuPkg: Fix typos in comments - excute -> execute - Retrive -> Retrieve - possilbe -> possible - CONTINOUS -> CONTINUOUS - storgage -> storage - allcated -> allocated - triggerred -> triggered - paramter -> parameter - perodically -> periodically - retore -> restore Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin --- UefiCpuPkg/Include/Library/MtrrLib.h | 2 +- UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c | 2 +- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 10 +++= ++----- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Libr= ary/MtrrLib.h index 36cd2cd..5d62adb 100644 --- a/UefiCpuPkg/Include/Library/MtrrLib.h +++ b/UefiCpuPkg/Include/Library/MtrrLib.h @@ -306,7 +306,7 @@ MtrrSetAllMtrrs ( MtrrValidBitsMask & 0xfffffffffffff000= ULL @param[out] VariableMtrr The array to shadow variable MTRRs con= tent =20 - @return The ruturn value of this paramter indicate= s the number of + @return The ruturn value of this parameter indicat= es the number of MTRRs which has been used. **/ UINT32 diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuExceptio= n.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c index 02d5622..e55709c 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiDxeSmmCpuException.c @@ -65,7 +65,7 @@ CommonExceptionHandlerWorker ( // if (ReservedVectors[ExceptionType].ApicId =3D=3D GetApicId ()) { // - // Old IDT handler has been executed, then retore CPU exception co= ntent to + // Old IDT handler has been executed, then restore CPU=20 + exception content to // run new exception handler. // ArchRestoreExceptionContext (ExceptionType, SystemContext); diff -= -git a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c b/UefiCpuPkg/Library/MpInitL= ib/DxeMpLib.c index 50b5b27..b399f1c 100644 --- a/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c +++ b/UefiCpuPkg/Library/MpInitLib/DxeMpLib.c @@ -172,7 +172,7 @@ CheckAndUpdateApsStatus ( /** Checks APs' status periodically. =20 - This function is triggerred by timer perodically to check the + This function is triggered by timer periodically to check the state of APs for StartupAllAPs() and StartupThisAP() executed in non-blocking mode. =20 diff --git a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c b/UefiCpuPkg/Library/Mtrr= Lib/MtrrLib.c index 5aef772..7783b63 100644 --- a/UefiCpuPkg/Library/MtrrLib/MtrrLib.c +++ b/UefiCpuPkg/Library/MtrrLib/MtrrLib.c @@ -606,7 +606,7 @@ MtrrGetMemoryAttributeInVariableMtrrWorker ( @param[in] MtrrValidAddressMask The valid address mask for MTRR @param[out] VariableMtrr The array to shadow variable MTRRs co= ntent =20 - @return The return value of this paramter indicate= s the + @return The return value of this parameter indicat= es the number of MTRRs which has been used. =20 **/ diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg= /Universal/Acpi/S3Resume2Pei/S3Resume.c index 0ccf3a4..f907b30 100644 --- a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c +++ b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c @@ -1,7 +1,7 @@ /** @file This module produces the EFI_PEI_S3_RESUME2_PPI. This module works with StandAloneBootScriptExecutor to S3 resume to OS. - This module will excute the boot script saved during last boot and after= that, + This module will execute the boot script saved during last boot and=20 + after that, control is passed to OS waking up handler. =20 Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
@= @ -294,7 +294,7 @@ WriteToOsS3PerformanceData ( UINT64 Freq; =20 // - // Retrive time stamp count as early as possilbe + // Retrieve time stamp count as early as possible // Ticker =3D GetPerformanceCounter (); =20 @@ -612,12 +612,12 @@ RestoreS3PageTables ( // NOTE: We have to ASSUME the page table generation format, because w= e do not know whole page table information. // The whole page table is too large to be saved in SMRAM. // - // The assumption is : whole page table is allocated in CONTINOUS memo= ry and CR3 points to TOP page. + // The assumption is : whole page table is allocated in CONTINUOUS mem= ory and CR3 points to TOP page. // DEBUG ((EFI_D_ERROR, "S3NvsPageTableAddress - %x (%x)\n", (UINTN)S3Nvs= PageTableAddress, (UINTN)Build4GPageTableOnly)); =20 // - // By architecture only one PageMapLevel4 exists - so lets allocate st= orgage for it. + // By architecture only one PageMapLevel4 exists - so lets allocate st= orage for it. // PageMap =3D (PAGE_MAP_AND_DIRECTORY_POINTER *)S3NvsPageTableAddress; S3NvsPageTableAddress +=3D SIZE_4KB; @@ -819,7 +819,7 @@ S3ResumeExecuteBootScript ( // IdtDescriptor =3D (IA32_DESCRIPTOR *) (UINTN) (AcpiS3Context->IdtrProf= ile); // - // Make sure the newly allcated IDT align with 16-bytes + // Make sure the newly allocated IDT align with 16-bytes //=20 IdtBuffer =3D AllocatePages (EFI_SIZE_TO_PAGES((IdtDescriptor->Limit += 1) + 16)); if (IdtBuffer =3D=3D NULL) { -- 2.10.1