From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6505081EE4 for ; Mon, 23 Jan 2017 18:13:59 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jan 2017 18:13:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,276,1477983600"; d="scan'208";a="1098016728" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 23 Jan 2017 18:13:59 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 23 Jan 2017 18:13:58 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 23 Jan 2017 18:13:58 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Tue, 24 Jan 2017 10:13:49 +0800 From: "Yao, Jiewen" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Zeng, Star" Thread-Topic: [PATCH V2 2/2] MdePkg : UefiTcgPlatform.h: Define Startup Locality Event & Indicator Thread-Index: AQHSdeTDP4fDGO0nnEyNiIDtlHQjmKFG4yYw Date: Tue, 24 Jan 2017 02:13:48 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8E4A36@shsmsx102.ccr.corp.intel.com> References: <20170124015401.24540-1-chao.b.zhang@intel.com> <20170124015401.24540-2-chao.b.zhang@intel.com> In-Reply-To: <20170124015401.24540-2-chao.b.zhang@intel.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 V2 2/2] MdePkg : UefiTcgPlatform.h: Define Startup Locality Event & Indicator 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: Tue, 24 Jan 2017 02:13:59 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: jiewen.yao@intel.com > -----Original Message----- > From: Zhang, Chao B > Sent: Tuesday, January 24, 2017 9:54 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Zeng, Star ; > Zhang, Chao B > Subject: [PATCH V2 2/2] MdePkg : UefiTcgPlatform.h: Define Startup Locali= ty > Event & Indicator >=20 > Add Startup Locality Event definition according to PC Client PFP 00.21 > http://www.trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific > _Platform_Profile_for_TPM_2p0_Systems_v21.pdf > Add Locality Indicator definition according to PC Client PTP 00.43 > https://www.trustedcomputinggroup.org/wp-content/uploads/PC-Client-Specif= i > c-Platform-TPM-Profile-for-TPM-2-0-v43-150126.pdf >=20 > Cc: Star Zeng > Cc: Yao Jiewen > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chao Zhang > --- > MdePkg/Include/IndustryStandard/UefiTcgPlatform.h | 29 > ++++++++++++++++++++++- > 1 file changed, 28 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > index 23eaa53..6ce808e 100644 > --- a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > +++ b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > @@ -1,7 +1,7 @@ > /** @file > TCG EFI Platform Definition in TCG_EFI_Platform_1_20_Final >=20 > - Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.
> + Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the = BSD > License > which accompanies this distribution. The full text of the license may= be > found at > @@ -268,6 +268,33 @@ typedef struct { > //UINT8 vendorInfo[vendorInfoSize]; > } TCG_EfiSpecIDEventStruct; >=20 > + > + > +#define TCG_EfiStartupLocalityEvent_SIGNATURE "StartupLocality" > + > + > +// > +// PC Client PTP spec Table 8 Relationship between Locality and Locality > Attribute > +// > +#define LOCALITY_0_INDICATOR 0x01 > +#define LOCALITY_1_INDICATOR 0x02 > +#define LOCALITY_2_INDICATOR 0x03 > +#define LOCALITY_3_INDICATOR 0x04 > +#define LOCALITY_4_INDICATOR 0x05 > + > + > +// > +// Startup Locality Event > +// > +typedef struct tdTCG_EfiStartupLocalityEvent{ > + UINT8 Signature[16]; > + // > + // The Locality Indicator which sent the TPM2_Startup command > + // > + UINT8 StartupLocality; > +} TCG_EfiStartupLocalityEvent; > + > + > // > // Restore original structure alignment > // > -- > 1.9.5.msysgit.1