summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorZhang, Chao B <chao.b.zhang@intel.com>2017-01-11 16:07:08 +0800
committerZhang, Chao B <chao.b.zhang@intel.com>2017-03-09 11:31:19 +0800
commit2cf2ec7457ed718fa2aadd7a732741f5e0848d6f (patch)
tree2c214438295ba8c438ed454f6fd3c03272534276 /MdePkg
parentc0fb62b7aaba03cd4246bafd09f12f7cb070b911 (diff)
downloadedk2-2cf2ec7457ed718fa2aadd7a732741f5e0848d6f.tar.gz
edk2-2cf2ec7457ed718fa2aadd7a732741f5e0848d6f.tar.bz2
edk2-2cf2ec7457ed718fa2aadd7a732741f5e0848d6f.zip
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> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> (cherry picked from commit 50f670acf9bb2efcf778ce71e9a3d2250ac0bb99)
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/IndustryStandard/Tpm2Acpi.h7
1 files changed, 5 insertions, 2 deletions
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[];