From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 519121A1E60 for ; Wed, 19 Oct 2016 00:46:45 -0700 (PDT) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP; 19 Oct 2016 00:46:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,513,1473145200"; d="scan'208";a="21186657" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga005.fm.intel.com with ESMTP; 19 Oct 2016 00:46:44 -0700 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 00:46:44 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 19 Oct 2016 00:46:44 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.209]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0248.002; Wed, 19 Oct 2016 15:46:42 +0800 From: "Wu, Hao A" To: Gary Lin , "edk2-devel@lists.01.org" CC: "Fan, Jeff" Thread-Topic: [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments Thread-Index: AQHSKdcHauHOUfMd5kSSVci7qg73YaCvZhAQ Date: Wed, 19 Oct 2016 07:46:42 +0000 Message-ID: References: <20161019070138.16424-1-glin@suse.com> <20161019070138.16424-32-glin@suse.com> In-Reply-To: <20161019070138.16424-32-glin@suse.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 31/33] SourceLevelDebugPkg: 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:45 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Hao Wu Best Regards, Hao Wu > -----Original Message----- > From: Gary Lin [mailto:glin@suse.com] > Sent: Wednesday, October 19, 2016 3:02 PM > To: edk2-devel@lists.01.org > Cc: Fan, Jeff; Wu, Hao A > Subject: [PATCH 31/33] SourceLevelDebugPkg: Fix typos in comments >=20 > - descrption -> description > - Libary -> Library > - funciton -> function > - paramter -> parameter > - triggerred -> triggered > - hanlde -> handle >=20 > Cc: Jeff Fan > Cc: Hao Wu > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Gary Lin > --- > SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h > | 8 ++++---- >=20 > SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAg > entLib.c | 6 +++--- >=20 > SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAg > entLib.h | 4 ++-- >=20 > SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCom > municationLibSerialPort.c | 4 ++-- >=20 > SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommunica > tionLibUsb.c | 4 ++-- >=20 > SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommunic > ationLibUsb3Common.c | 6 +++--- > 6 files changed, 16 insertions(+), 16 deletions(-) >=20 > diff --git a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h > b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h > index 0c1a7b0..b204284 100644 > --- a/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h > +++ b/SourceLevelDebugPkg/Include/Library/DebugCommunicationLib.h > @@ -20,10 +20,10 @@ typedef VOID * DEBUG_PORT_HANDLE; > /** > Caller provided function to be invoked at the end of DebugPortInitiali= ze(). >=20 > - Refer to the descrption for DebugPortInitialize() for more details. > + Refer to the description for DebugPortInitialize() for more details. >=20 > @param[in] Context The first input argument of DebugPortInit= ialize(). > - @param[in] DebugPortHandle Debug port handle created by Debug > Communication Libary. > + @param[in] DebugPortHandle Debug port handle created by Debug > Communication Library. >=20 > **/ > typedef > @@ -41,9 +41,9 @@ VOID > stack, this function must work on the mode that doesn't return to the = caller, > then > the caller needs to wrap up all rest of logic after DebugPortInitializ= e() into > one > function and pass it into DebugPortInitialize(). DebugPortInitialize()= is > - responsible to invoke the passing-in funciton at the end of > DebugPortInitialize(). > + responsible to invoke the passing-in function at the end of > DebugPortInitialize(). >=20 > - If the paramter Function is not NULL, Debug Communication Libary insta= nce > will > + If the parameter Function is not NULL, Debug Communication Library > instance will > invoke it by passing in the Context to be the first parameter. Debug > Communication > Library instance could create one debug port handle to be the second > parameter > passing into the Function. Debug Communication Library instance also c= ould > pass > diff --git > a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.c > b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.c > index faec574..128c69f 100644 > --- > a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.c > +++ > b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.c > @@ -343,7 +343,7 @@ DebugAgentCallbackMemoryDiscoveredPpi ( > function and pass it into InitializeDebugAgent(). InitializeDebugAgent= () is > responsible to invoke the passing-in function at the end of > InitializeDebugAgent(). >=20 > - If the parameter Function is not NULL, Debug Agent Libary instance wil= l > invoke it by > + If the parameter Function is not NULL, Debug Agent Library instance wi= ll > invoke it by > passing in the Context to be its parameter. >=20 > If Function() is NULL, Debug Agent Library instance will return after = setup > debug > @@ -648,10 +648,10 @@ InitializeDebugAgent ( > /** > Caller provided function to be invoked at the end of DebugPortInitiali= ze(). >=20 > - Refer to the descrption for DebugPortInitialize() for more details. > + Refer to the description for DebugPortInitialize() for more details. >=20 > @param[in] Context The first input argument of DebugPortInit= ialize(). > - @param[in] DebugPortHandle Debug port handle created by Debug > Communication Libary. > + @param[in] DebugPortHandle Debug port handle created by Debug > Communication Library. >=20 > **/ > VOID > diff --git > a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.h > b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.h > index a0687fa..300bc35 100644 > --- > a/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.h > +++ > b/SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgent/SecPeiDebug > AgentLib.h > @@ -30,10 +30,10 @@ typedef struct { > /** > Caller provided function to be invoked at the end of DebugPortInitiali= ze(). >=20 > - Refer to the descrption for DebugPortInitialize() for more details. > + Refer to the description for DebugPortInitialize() for more details. >=20 > @param[in] Context The first input argument of DebugPortInit= ialize(). > - @param[in] DebugPortHandle Debug port handle created by Debug > Communication Libary. > + @param[in] DebugPortHandle Debug port handle created by Debug > Communication Library. >=20 > **/ > VOID > diff --git > a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo > mmunicationLibSerialPort.c > b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo > mmunicationLibSerialPort.c > index 388286b..6a854ff 100644 > --- > a/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo > mmunicationLibSerialPort.c > +++ > b/SourceLevelDebugPkg/Library/DebugCommunicationLibSerialPort/DebugCo > mmunicationLibSerialPort.c > @@ -26,9 +26,9 @@ > stack, this function must work on the mode that doesn't return to the = caller, > then > the caller needs to wrap up all rest of logic after DebugPortInitializ= e() into > one > function and pass it into DebugPortInitialize(). DebugPortInitialize()= is > - responsible to invoke the passing-in funciton at the end of > DebugPortInitialize(). > + responsible to invoke the passing-in function at the end of > DebugPortInitialize(). >=20 > - If the paramter Function is not NULL, Debug Communication Libary insta= nce > will > + If the parameter Function is not NULL, Debug Communication Library > instance will > invoke it by passing in the Context to be the first parameter. Debug > Communication > Library instance could create one debug port handle to be the second > parameter > passing into the Function. Debug Communication Library instance also c= ould > pass > diff --git > a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni > cationLibUsb.c > b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni > cationLibUsb.c > index a08a260..d7829c2 100644 > --- > a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni > cationLibUsb.c > +++ > b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/DebugCommuni > cationLibUsb.c > @@ -511,7 +511,7 @@ UsbDebugPortControlTransfer ( > Check if it needs to re-initialize usb debug port hardware. >=20 > During different phases switch, such as SEC to PEI or PEI to DXE or DX= E to > SMM, we should check > - whether the usb debug port hardware configuration is changed. Such cas= e > can be triggerred by > + whether the usb debug port hardware configuration is changed. Such cas= e > can be triggered by > Pci bus resource allocation and so on. >=20 > @param Handle Debug port handle. > @@ -1007,7 +1007,7 @@ DebugPortPollBuffer ( > /** > Initialize the debug port. >=20 > - If Function is not NULL, Debug Communication Libary will call this fun= ction > + If Function is not NULL, Debug Communication Library will call this fu= nction > by passing in the Context to be the first parameter. If needed, Debug > Communication > Library will create one debug port handle to be the second argument pa= ssing > in > calling the Function, otherwise it will pass NULL to be the second arg= ument of > diff --git > a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun > icationLibUsb3Common.c > b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun > icationLibUsb3Common.c > index 7c62bda..04e25e3 100644 > --- > a/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun > icationLibUsb3Common.c > +++ > b/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/DebugCommun > icationLibUsb3Common.c > @@ -300,7 +300,7 @@ Done: > Check if it needs to re-initialize usb debug port hardware. >=20 > During different phases switch, such as SEC to PEI or PEI to DXE or DX= E to > SMM, we should check > - whether the usb debug port hardware configuration is changed. Such cas= e > can be triggerred by > + whether the usb debug port hardware configuration is changed. Such cas= e > can be triggered by > Pci bus resource allocation and so on. >=20 > @param Handle Debug port handle. > @@ -989,7 +989,7 @@ DebugPortPollBuffer ( > /** > Initialize the debug port. >=20 > - If Function is not NULL, Debug Communication Libary will call this fun= ction > + If Function is not NULL, Debug Communication Library will call this fu= nction > by passing in the Context to be the first parameter. If needed, Debug > Communication > Library will create one debug port handle to be the second argument pa= ssing > in > calling the Function, otherwise it will pass NULL to be the second arg= ument of > @@ -997,7 +997,7 @@ DebugPortPollBuffer ( >=20 > If Function is NULL, and Context is not NULL, the Debug Communication > Library could > a) Return the same handle as passed in (as Context parameter). > - b) Ignore the input Context parameter and create new hanlde to be > returned. > + b) Ignore the input Context parameter and create new handle to be > returned. >=20 > If parameter Function is NULL and Context is NULL, Debug Communication > Library could > created a new handle if needed and return it, otherwise it will return= NULL. > -- > 2.10.1