summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/Tcg2Smm
diff options
context:
space:
mode:
authorZhang, Chao B <chao.b.zhang@intel.com>2016-12-29 16:21:02 +0800
committerZhang, Chao B <chao.b.zhang@intel.com>2017-01-05 09:30:15 +0800
commita6e0e994d0e855f7f65f6fb7e113f061e0b9a242 (patch)
tree93b468545b25bbe460156a71c08c8af23974ce55 /SecurityPkg/Tcg/Tcg2Smm
parent7cb63c870bac7a986936aeb6e70b22ebf80d4ba9 (diff)
downloadedk2-a6e0e994d0e855f7f65f6fb7e113f061e0b9a242.tar.gz
edk2-a6e0e994d0e855f7f65f6fb7e113f061e0b9a242.tar.bz2
edk2-a6e0e994d0e855f7f65f6fb7e113f061e0b9a242.zip
SecurityPkg: Tcg2ConfigDxe: Display TPM2 HID in Tcg2Config
Display TPM2 HID from TPM2 ACPI device object in Tcg2Config UI Cc: Long Qin <qin.long@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: Long Qin <qin.long@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Smm')
-rw-r--r--SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
index e888058544..968f32710d 100644
--- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
+++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
@@ -337,7 +337,7 @@ UpdateHID (
if (!EFI_ERROR(Status)) {
DEBUG((EFI_D_INFO, "TPM_PT_MANUFACTURER 0x%08x\n", ManufacturerID));
//
- // ManfacturerID defined in TCG Vendor ID Registry
+ // ManufacturerID defined in TCG Vendor ID Registry
// may tailed with 0x00 or 0x20
//
if ((ManufacturerID >> 24) == 0x00 || ((ManufacturerID >> 24) == 0x20)) {
@@ -396,7 +396,8 @@ UpdateHID (
CopyMem(DataPtr, HID, TPM_HID_ACPI_SIZE);
}
- DEBUG((EFI_D_INFO, "TPM2 ACPI _HID updated to %a\n", HID));
+ DEBUG((DEBUG_INFO, "TPM2 ACPI _HID is patched to %a\n", DataPtr));
+
return Status;
}
}