From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=jiewen.yao@intel.com; receiver=edk2-devel@lists.01.org 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 2D4EB21A09130 for ; Mon, 19 Nov 2018 17:21:15 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Nov 2018 17:21:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,255,1539673200"; d="scan'208";a="109669022" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga001.jf.intel.com with ESMTP; 19 Nov 2018 17:21:14 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 19 Nov 2018 17:21:14 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 19 Nov 2018 17:21:13 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.84]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.199]) with mapi id 14.03.0415.000; Tue, 20 Nov 2018 09:21:11 +0800 From: "Yao, Jiewen" To: "Zhang, Chao B" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch] SecurityPkg: TCG Add more Event type Thread-Index: AQHUfoxmd+k5QET0s06GK6QahKHCtaVX4X1Q Date: Tue, 20 Nov 2018 01:21:10 +0000 Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F3FF1D6@shsmsx102.ccr.corp.intel.com> References: <20181117154329.3060-1-chao.b.zhang@intel.com> In-Reply-To: <20181117154329.3060-1-chao.b.zhang@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjViNzZhNTAtMDFiMS00MTk0LTg4MDEtOGZmNTBhNjlkYTk4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9lelwvc1VpVkUzTUtPQjdlSGRPSHpOVE5hUXZMRENiZU05dFZtM1FQamE2UnhyQUl0YkVRdkpiK214STVTSDZoIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] SecurityPkg: TCG Add more Event type X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2018 01:21:15 -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: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of > Zhang, Chao B > Sent: Saturday, November 17, 2018 11:43 PM > To: edk2-devel@lists.01.org > Subject: [edk2] [Patch] SecurityPkg: TCG Add more Event type >=20 > Add more event log type defined in TCG PTP spec 00.51 > https://trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific_ > Platform_Profile_for_TPM_2p0_Systems_v51.pdf >=20 > Cc:Yao Jiewen > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Zhang, Chao B > --- > MdePkg/Include/IndustryStandard/UefiTcgPlatform.h | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > index 5ecb4ac86e..2d223f4ea7 100644 > --- a/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > +++ b/MdePkg/Include/IndustryStandard/UefiTcgPlatform.h > @@ -20,17 +20,25 @@ > #include >=20 > // > // Standard event types > // > +#define EV_PREBOOT_CERT ((TCG_EVENTTYPE) > 0x00000000) > #define EV_POST_CODE ((TCG_EVENTTYPE) > 0x00000001) > #define EV_NO_ACTION ((TCG_EVENTTYPE) > 0x00000003) > #define EV_SEPARATOR ((TCG_EVENTTYPE) 0x00000004) > +#define EV_ACTION ((TCG_EVENTTYPE) > 0x00000005) > #define EV_S_CRTM_CONTENTS ((TCG_EVENTTYPE) > 0x00000007) > #define EV_S_CRTM_VERSION ((TCG_EVENTTYPE) > 0x00000008) > #define EV_CPU_MICROCODE ((TCG_EVENTTYPE) > 0x00000009) > +#define EV_PLATFORM_CONFIG_FLAGS ((TCG_EVENTTYPE) > 0x0000000A) > #define EV_TABLE_OF_DEVICES ((TCG_EVENTTYPE) 0x0000000B) > +#define EV_COMPACT_HASH ((TCG_EVENTTYPE) > 0x0000000C) > +#define EV_NONHOST_CODE ((TCG_EVENTTYPE) > 0x0000000F) > +#define EV_NONHOST_CONFIG ((TCG_EVENTTYPE) > 0x00000010) > +#define EV_NONHOST_INFO ((TCG_EVENTTYPE) > 0x00000011) > +#define EV_OMIT_BOOT_DEVICE_EVENTS ((TCG_EVENTTYPE) > 0x00000012) >=20 > // > // EFI specific event types > // > #define EV_EFI_EVENT_BASE ((TCG_EVENTTYPE) > 0x80000000) > @@ -41,10 +49,11 @@ > #define EV_EFI_RUNTIME_SERVICES_DRIVER (EV_EFI_EVENT_BASE > + 5) > #define EV_EFI_GPT_EVENT (EV_EFI_EVENT_BASE > + 6) > #define EV_EFI_ACTION (EV_EFI_EVENT_BASE > + 7) > #define EV_EFI_PLATFORM_FIRMWARE_BLOB > (EV_EFI_EVENT_BASE + 8) > #define EV_EFI_HANDOFF_TABLES (EV_EFI_EVENT_BASE > + 9) > +#define EV_EFI_HCRTM_EVENT (EV_EFI_EVENT_BASE > + 0x10) > #define EV_EFI_VARIABLE_AUTHORITY (EV_EFI_EVENT_BASE > + 0xE0) >=20 > #define EFI_CALLING_EFI_APPLICATION \ > "Calling EFI Application from Boot Option" > #define EFI_RETURNING_FROM_EFI_APPLICATOIN \ > -- > 2.16.2.windows.1 >=20 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel