summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-01-09 13:36:41 +0800
committerStar Zeng <star.zeng@intel.com>2017-01-09 16:08:51 +0800
commit133834858a3ab5ba61ca1dc2bb37d322095fcf07 (patch)
tree665c630ea75e481bee122835fbfd3fece5c67731 /SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
parent02263214ef20f1577b62f810016dce801aa95b4f (diff)
downloadedk2-133834858a3ab5ba61ca1dc2bb37d322095fcf07.tar.gz
edk2-133834858a3ab5ba61ca1dc2bb37d322095fcf07.tar.bz2
edk2-133834858a3ab5ba61ca1dc2bb37d322095fcf07.zip
SecurityPkg Tcg2ConfigDxe: Refine debug message and comments
Cc: Chao Zhang <chao.b.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
Diffstat (limited to 'SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c')
-rw-r--r--SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
index 34828eed7d..050e43a337 100644
--- a/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
+++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
@@ -137,7 +137,7 @@ InitializeTcg2VersionInfo (
}
} else {
//
- // EFI variable doesn't exist.
+ // EFI variable doesn't exist or variable size is not expected.
//
//
@@ -182,7 +182,7 @@ InitializeTcg2VersionInfo (
//
// Get the PCD value again.
// If the PCD value is not equal to the value in variable,
- // the PCD is not DynamicHii type and maps to the setup option.
+ // the PCD is not DynamicHii type and does not map to the setup option.
//
PcdTcg2PpiVersion = 0;
CopyMem (
@@ -191,7 +191,7 @@ InitializeTcg2VersionInfo (
AsciiStrSize ((CHAR8 *) PcdGetPtr (PcdTcgPhysicalPresenceInterfaceVer))
);
if (PcdTcg2PpiVersion != Tcg2Version.PpiVersion) {
- DEBUG ((DEBUG_WARN, "WARNING: PcdTcgPhysicalPresenceInterfaceVer is not DynamicHii type and maps to TCG2_VERSION.PpiVersion\n"));
+ DEBUG ((DEBUG_WARN, "WARNING: PcdTcgPhysicalPresenceInterfaceVer is not DynamicHii type and does not map to TCG2_VERSION.PpiVersion\n"));
DEBUG ((DEBUG_WARN, "WARNING: The TCG2 PPI version configuring from setup page will not work\n"));
}