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>
Cc: "Zeng, Star" <star.zeng@intel.com>
Subject: Re: [PATCH 1/2] MdePkg: Tpm2Acpi.h: Fix incompatible change
Date: Wed, 11 Jan 2017 08:15:44 +0000	[thread overview]
Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8DE7C0@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20170111081243.20360-1-chao.b.zhang@intel.com>

Hi
Can we add more comment:
> +  //    BIT0~15:  PlatformClass // this field is only valid for version 4 and above.

With the comment update, reviewed-by: Jiewen.yao@intel.com

Thank you
Yao Jiewen

> -----Original Message-----
> From: Zhang, Chao B
> Sent: Wednesday, January 11, 2017 4:13 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Zeng, Star <star.zeng@intel.com>;
> Zhang, Chao B <chao.b.zhang@intel.com>
> Subject: [PATCH 1/2] MdePkg: Tpm2Acpi.h: Fix incompatible change
> 
> Fix incompatible change.  Some modules are still referencing old definition.
> 
> Cc: Star Zeng <star.zeng@intel.com>
> Cc: Yao Jiewen <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
> ---
>  MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> index 7578676..0ac1ae0 100644
> --- a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> +++ b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h
> @@ -21,11 +21,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY
> KIND, EITHER EXPRESS OR IMPLIED.
> 
>  #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
> 
>  typedef struct {
>    EFI_ACPI_DESCRIPTION_HEADER Header;
> -  UINT16                      PlatformClass;
> -  UINT16                      Reserved;
> +  // Flags field is replaced in version 4 and later
> +  //    BIT0~15:  PlatformClass
> +  //    BIT16~31: Reserved
> +  UINT32                      Flags;
>    UINT64                      AddressOfControlArea;
>    UINT32                      StartMethod;
>  //UINT8                       PlatformSpecificParameters[];
> --
> 1.9.5.msysgit.1



      parent reply	other threads:[~2017-01-11  8:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11  8:12 [PATCH 1/2] MdePkg: Tpm2Acpi.h: Fix incompatible change Zhang, Chao B
2017-01-11  8:12 ` [PATCH 2/2] SecurityPkg: Tcg2Smm: " Zhang, Chao B
2017-01-11  8:17   ` Yao, Jiewen
2017-01-11  8:28     ` Zhang, Chao B
2017-01-11  8:15 ` 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=74D8A39837DF1E4DA445A8C0B3885C503A8DE7C0@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