From 2cf2ec7457ed718fa2aadd7a732741f5e0848d6f Mon Sep 17 00:00:00 2001 From: "Zhang, Chao B" Date: Wed, 11 Jan 2017 16:07:08 +0800 Subject: MdePkg: Tpm2Acpi.h: Fix incompatible change Fix incompatible change. Some modules are still referencing old definition. Cc: Star Zeng Cc: Yao Jiewen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang Reviewed-by: Yao Jiewen (cherry picked from commit 50f670acf9bb2efcf778ce71e9a3d2250ac0bb99) --- MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandard/Tpm2Acpi.h index 7578676e44..6b8161e6a6 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 above + // BIT0~15: PlatformClass This field is only valid for version 4 and above + // BIT16~31: Reserved + UINT32 Flags; UINT64 AddressOfControlArea; UINT32 StartMethod; //UINT8 PlatformSpecificParameters[]; -- cgit v1.2.3