From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by ml01.01.org (Postfix) with ESMTP id EE18E1A1E2B for ; Wed, 10 Aug 2016 09:28:39 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 10 Aug 2016 09:28:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,500,1464678000"; d="scan'208";a="1023149196" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by fmsmga001.fm.intel.com with ESMTP; 10 Aug 2016 09:28:37 -0700 Received: from orsmsx111.amr.corp.intel.com (10.22.240.12) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 10 Aug 2016 09:28:37 -0700 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.118]) by ORSMSX111.amr.corp.intel.com ([169.254.12.106]) with mapi id 14.03.0248.002; Wed, 10 Aug 2016 09:28:37 -0700 From: "Kinney, Michael D" To: "Ni, Ruiyu" , "edk2-devel@lists.01.org" , "Kinney, Michael D" Thread-Topic: [PATCH 07/11] QuarkSocPkg/ResetSystemLib: Implement ResetPlatformSpecific Thread-Index: AQHR8svrlIKVaOhEnkiOhBe0JviXtaBCYs2w Date: Wed, 10 Aug 2016 16:28:36 +0000 Message-ID: References: <20160810055611.266232-1-ruiyu.ni@intel.com> <20160810055611.266232-8-ruiyu.ni@intel.com> In-Reply-To: <20160810055611.266232-8-ruiyu.ni@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWQ5MWU2MjMtN2Y0Yi00YmE3LTk4OWMtYzUxMzlkMGIwNjRkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjRQc2xRbTVGelpUdkJGTStzd2lIeWFteHhQZWl5d0JlWWVITXowdXdqMmc9In0= x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Subject: Re: [PATCH 07/11] QuarkSocPkg/ResetSystemLib: Implement ResetPlatformSpecific 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, 10 Aug 2016 16:28:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Michael D Kinney > -----Original Message----- > From: Ni, Ruiyu > Sent: Tuesday, August 9, 2016 10:56 PM > To: edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Steele, Kelly > > Subject: [PATCH 07/11] QuarkSocPkg/ResetSystemLib: Implement ResetPlatfor= mSpecific >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ruiyu Ni > Cc: Michael D Kinney > Cc: Kelly Steele > --- > .../Library/ResetSystemLib/ResetSystemLib.c | 22 ++++++++++++++++= +++++- > 1 file changed, 21 insertions(+), 1 deletion(-) >=20 > diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSy= stemLib.c > b/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib.c > index c2ad7f3..3aa0f6d 100644 > --- a/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib= .c > +++ b/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ResetSystemLib= .c > @@ -2,7 +2,7 @@ > System reset Library Services. This library class provides a set of > methods to reset whole system with manipulate QNC. >=20 > -Copyright (c) 2013-2015 Intel Corporation. > +Copyright (c) 2013-2016 Intel Corporation. >=20 > This program and the accompanying materials > are licensed and made available under the terms and conditions of the BS= D License > @@ -320,3 +320,23 @@ VOID > } > } >=20 > +/** > + This function causes a systemwide reset. The exact type of the reset i= s defined > + by the EFI_GUID that follows the Null-terminated Unicode string passed= into > ResetData. > + If the platform does not recognize the EFI_GUID in ResetData the platf= orm must > pick a > + supported reset type to perform.The platform may optionally log the pa= rameters > from > + any non-normal reset that occurs. > + > + @param[in] DataSize The size, in bytes, of ResetData. > + @param[in] ResetData The data buffer starts with a Null-terminated s= tring, > followed > + by the EFI_GUID. > +**/ > +VOID > +EFIAPI > +ResetPlatformSpecific ( > + IN UINTN DataSize, > + IN VOID *ResetData > + ) > +{ > + ResetCold (); > +} > -- > 2.9.0.windows.1