From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 A658F82107 for ; Sat, 4 Feb 2017 00:49:40 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP; 04 Feb 2017 00:49:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,333,1477983600"; d="scan'208";a="60760049" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 04 Feb 2017 00:49:40 -0800 Received: from fmsmsx157.amr.corp.intel.com (10.18.116.73) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 4 Feb 2017 00:49:39 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX157.amr.corp.intel.com (10.18.116.73) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sat, 4 Feb 2017 00:49:39 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by shsmsx102.ccr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0248.002; Sat, 4 Feb 2017 16:49:35 +0800 From: "Long, Qin" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" CC: "Yao, Jiewen" Thread-Topic: [PATCH 2/2] MdePkg: UefiTcgPlatform.h: Add TCG_PCR_EVENT2_HDR definition Thread-Index: AQHSfoaqV+2HfkLSi0O8xawInjXSNKFYiZqA Date: Sat, 4 Feb 2017 08:49:34 +0000 Message-ID: References: <20170204013304.16360-1-chao.b.zhang@intel.com> <20170204013304.16360-2-chao.b.zhang@intel.com> In-Reply-To: <20170204013304.16360-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 2/2] MdePkg: UefiTcgPlatform.h: Add TCG_PCR_EVENT2_HDR definition 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: Sat, 04 Feb 2017 08:49:40 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Chao, Please use "Digests", instead of "Digest" in TCG_PCR_EVENT2 definition for = spec alignment. Other looks good to me. Reviewed-by: Long Qin Best Regards & Thanks, LONG, Qin > -----Original Message----- > From: Zhang, Chao B > Sent: Saturday, February 04, 2017 9:33 AM > To: edk2-devel@lists.01.org > Cc: Long, Qin; Yao, Jiewen; Zhang, Chao B > Subject: [PATCH 2/2] MdePkg: UefiTcgPlatform.h: Add > TCG_PCR_EVENT2_HDR definition >=20 > Add TCG_PCR_EVENT2_HDR definition. >=20 > Cc: Long Qin > Cc: Yao Jiewen > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chao Zhang > --- > MdePkg/Include/IndustryStandard/UefiTcgPlatform.h | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > index 8a3e170..cd1dea8 100644 > --- a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > +++ b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > @@ -206,6 +206,16 @@ typedef struct tdTCG_PCR_EVENT2 { } > TCG_PCR_EVENT2; >=20 > // > +// TCG PCR Event2 Header > +// > +typedef struct tdTCG_PCR_EVENT2_HDR{ > + TCG_PCRINDEX PCRIndex; > + TCG_EVENTTYPE EventType; > + TPML_DIGEST_VALUES Digest; > + UINT32 EventSize; > +} TCG_PCR_EVENT2_HDR; > + > +// > // Log Header Entry Data > // > typedef struct { > -- > 1.9.5.msysgit.1