summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
diff options
context:
space:
mode:
authorZhang, Chao B <chao.b.zhang@intel.com>2017-01-11 16:10:29 +0800
committerZhang, Chao B <chao.b.zhang@intel.com>2017-01-11 16:25:03 +0800
commit0772737347816ced8df6299b1c88cccb9de9164c (patch)
tree8e619faad44f1dcd46cc2f1df85e0c15775cd6e8 /SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
parent50f670acf9bb2efcf778ce71e9a3d2250ac0bb99 (diff)
downloadedk2-0772737347816ced8df6299b1c88cccb9de9164c.tar.gz
edk2-0772737347816ced8df6299b1c88cccb9de9164c.tar.bz2
edk2-0772737347816ced8df6299b1c88cccb9de9164c.zip
SecurityPkg: Tcg2Smm: Fix incompatible change
Address incompatible change introduced in patch 8f07a374b1d0497b6676491de8cbe2f08f4f7e9f 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>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c')
-rw-r--r--SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
index 1df2da8688..0c3b19ca74 100644
--- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
+++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
@@ -77,14 +77,14 @@ EFI_TPM2_ACPI_TABLE mTpm2AcpiTemplate = {
{
EFI_ACPI_5_0_TRUSTED_COMPUTING_PLATFORM_2_TABLE_SIGNATURE,
sizeof (mTpm2AcpiTemplate),
- EFI_TPM2_ACPI_TABLE_REVISION_4,
+ EFI_TPM2_ACPI_TABLE_REVISION,
//
// Compiler initializes the remaining bytes to 0
// These fields should be filled in in production
//
},
- 0, // 16-bit PlatformClass
- 0, // 16-bit Reserved
+ 0, // BIT0~15: PlatformClass
+ // BIT16~31: Reserved
0, // Control Area
EFI_TPM2_ACPI_TABLE_START_METHOD_TIS, // StartMethod
};