From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (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 0902681B26 for ; Mon, 9 Jan 2017 21:11:56 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 09 Jan 2017 21:11:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,342,1477983600"; d="scan'208";a="28357204" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 09 Jan 2017 21:11:55 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 9 Jan 2017 21:11:54 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 9 Jan 2017 21:11:54 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Tue, 10 Jan 2017 13:11:53 +0800 From: "Yao, Jiewen" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Zhang, Chao B" , "Zeng, Star" Thread-Topic: [edk2] [PATCH 1/2] MdePkg: Tpm2Acpi.h: Update TPM2 ACPI table version Thread-Index: AQHSaujBgemSiqDP10CqZgN/sL6ViqExKeqQ Date: Tue, 10 Jan 2017 05:11:52 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8DDAC8@shsmsx102.ccr.corp.intel.com> References: <20170110022454.7136-1-chao.b.zhang@intel.com> In-Reply-To: <20170110022454.7136-1-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 1/2] MdePkg: Tpm2Acpi.h: Update TPM2 ACPI table version 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, 10 Jan 2017 05:11:56 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Can we keep the old definition? -#define EFI_TPM2_ACPI_TABLE_REVISION 3 +#define EFI_TPM2_ACPI_TABLE_REVISION 4 E.g. #define EFI_TPM2_ACPI_TABLE_REVISION_3 3 #define EFI_TPM2_ACPI_TABLE_REVISION_4 4 #define EFI_TPM2_ACPI_TABLE_REVISION EFI_TPM2_ACPI_TABLE_REVISION_4 So that it can be used in other code. Thank you Yao Jiewen > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Zh= ang, > Chao B > Sent: Tuesday, January 10, 2017 10:25 AM > To: edk2-devel@lists.01.org > Cc: Yao, Jiewen ; Zhang, Chao B > ; Zeng, Star > Subject: [edk2] [PATCH 1/2] MdePkg: Tpm2Acpi.h: Update TPM2 ACPI table > version >=20 > Update TPM2 ACPI Table revision to 4. New version & data structure is > defined in TCG ACPI Spec 00.37 >=20 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chao Zhang > --- > MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) >=20 > diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > index 73ef561..3500739 100644 > --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h > @@ -1,7 +1,7 @@ > /** @file > TPM2 ACPI table definition. >=20 > -Copyright (c) 2013, Intel Corporation. All rights reserved.
> +Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.
> This program and the accompanying materials > are licensed and made available under the terms and conditions of the BS= D > License > which accompanies this distribution. The full text of the license may b= e found > at > @@ -19,11 +19,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY > KIND, EITHER EXPRESS OR IMPLIED. >=20 > #pragma pack (1) >=20 > -#define EFI_TPM2_ACPI_TABLE_REVISION 3 > +#define EFI_TPM2_ACPI_TABLE_REVISION 4 >=20 > typedef struct { > EFI_ACPI_DESCRIPTION_HEADER Header; > - UINT32 Flags; > + UINT16 PlatformClass; > + UINT16 Reserved; > UINT64 AddressOfControlArea; > UINT32 StartMethod; > //UINT8 PlatformSpecificParameters[]; > -- > 1.9.5.msysgit.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel