summaryrefslogtreecommitdiffstats
path: root/SecurityPkg
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-03-09 11:31:22 +0800
commitb270df186a126025daa21bb5510bd87dd9d14ae3 (patch)
tree310f6445cb367fe0c11fdd32842270ea08ef8065 /SecurityPkg
parent2cf2ec7457ed718fa2aadd7a732741f5e0848d6f (diff)
downloadedk2-b270df186a126025daa21bb5510bd87dd9d14ae3.tar.gz
edk2-b270df186a126025daa21bb5510bd87dd9d14ae3.tar.bz2
edk2-b270df186a126025daa21bb5510bd87dd9d14ae3.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> (cherry picked from commit 0772737347816ced8df6299b1c88cccb9de9164c)
Diffstat (limited to 'SecurityPkg')
-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 0d97c85d68..3569306381 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
};