public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "Zhang, Chao B" <chao.b.zhang@intel.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [Patch] SecurityPkg: TCG Add more Event type
Date: Tue, 20 Nov 2018 01:21:10 +0000	[thread overview]
Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F3FF1D6@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20181117154329.3060-1-chao.b.zhang@intel.com>

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
> 
> 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
> 
> Cc:Yao Jiewen <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Zhang, Chao B <chao.b.zhang@intel.com>
> ---
>  MdePkg/Include/IndustryStandard/UefiTcgPlatform.h | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> 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 <Uefi.h>
> 
>  //
>  // 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)
> 
>  //
>  // 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)
> 
>  #define EFI_CALLING_EFI_APPLICATION         \
>    "Calling EFI Application from Boot Option"
>  #define EFI_RETURNING_FROM_EFI_APPLICATOIN  \
> --
> 2.16.2.windows.1
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2018-11-20  1:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17 15:43 [Patch] SecurityPkg: TCG Add more Event type Zhang, Chao B
2018-11-20  1:21 ` Yao, Jiewen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74D8A39837DF1E4DA445A8C0B3885C503F3FF1D6@shsmsx102.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox