From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: zhichao.gao@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Mon, 12 Aug 2019 01:33:20 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Aug 2019 01:33:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,376,1559545200"; d="scan'208,217";a="259712762" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 12 Aug 2019 01:33:19 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 12 Aug 2019 01:33:18 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.112]) with mapi id 14.03.0439.000; Mon, 12 Aug 2019 16:33:17 +0800 From: "Gao, Zhichao" To: "rfc@edk2.groups.io" CC: "devel@edk2.groups.io" , "Gao, Liming" Subject: [RFC] BZ 1772 MdeModulePkg: Transfer reset data Thread-Topic: [RFC] BZ 1772 MdeModulePkg: Transfer reset data Thread-Index: AdVQ6JMGONf7nEZNSM+2mcMUnHD2fg== Date: Mon, 12 Aug 2019 08:33:16 +0000 Message-ID: <3CE959C139B4C44DBEA1810E3AA6F9000B821C26@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: zhichao.gao@intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_3CE959C139B4C44DBEA1810E3AA6F9000B821C26SHSMSX101ccrcor_" --_000_3CE959C139B4C44DBEA1810E3AA6F9000B821C26SHSMSX101ccrcor_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable HI, BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1772 Before the ResetData of ResetSystem is limit by ResetType and ResetStatus. = As the Uefi spec update to 2.8, there is no limit any longer. Here we introduce a new API ResetSystemWithSubtype to transfer a null strin= g and GUID data with all ResetType to reset system. It is useful for capsule update to get a specific GUID to do some special o= peration with specific phase. That can be implemented in platform code thru= Reset Notify protocol. Here is the guids: gEdkiiCapsuleArmedResetGuid =3D {0xc6b4eea7, 0xfce2, 0x4625, {0x= 9c, 0x4f, 0xc4, 0xb0, 0x82, 0x37, 0xae, 0x23}} gEdkiiCapsuleUpdateCompleteResetGuid =3D {0x5d512714, 0xa4df, 0x4e46, {0x= b6, 0xc7, 0xbc, 0x9f, 0x97, 0x9d, 0x59, 0xa0}} Thanks, Zhichao --_000_3CE959C139B4C44DBEA1810E3AA6F9000B821C26SHSMSX101ccrcor_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

HI,

 

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1772

 

Before the ResetData of ResetSystem is limit by Rese= tType and ResetStatus. As the Uefi spec update to 2.8, there is no limit an= y longer.

Here we introduce a new API ResetSystemWithSubtype t= o transfer a null string and GUID data with all ResetType to reset system.<= o:p>

It is useful for capsule update to get a specific GU= ID to do some special operation with specific phase. That can be implemente= d in platform code thru Reset Notify protocol.

Here is the guids:

gEdkiiCapsuleArmedResetGuid    &= nbsp;       =3D {0xc6b4eea7, 0xfce2, 0x4625, = {0x9c, 0x4f, 0xc4, 0xb0, 0x82, 0x37, 0xae, 0x23}}

gEdkiiCapsuleUpdateCompleteResetGuid   =3D= {0x5d512714, 0xa4df, 0x4e46, {0xb6, 0xc7, 0xbc, 0x9f, 0x97, 0x9d, 0x59, 0x= a0}}

 

Thanks,

Zhichao

 

 

--_000_3CE959C139B4C44DBEA1810E3AA6F9000B821C26SHSMSX101ccrcor_--