]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c
SecurityPkg Tcg2ConfigDxe: Refine debug message and comments
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Config / Tcg2ConfigDriver.c
index 34828eed7d648598d4f089df6eda0381aa2f1351..050e43a3371d265bc3a7f7d6b42df2d532173693 100644 (file)
@@ -137,7 +137,7 @@ InitializeTcg2VersionInfo (
     }\r
   } else {\r
     //\r
-    // EFI variable doesn't exist.\r
+    // EFI variable doesn't exist or variable size is not expected.\r
     //\r
 \r
     //\r
@@ -182,7 +182,7 @@ InitializeTcg2VersionInfo (
   //\r
   // Get the PCD value again.\r
   // If the PCD value is not equal to the value in variable,\r
-  // the PCD is not DynamicHii type and maps to the setup option.\r
+  // the PCD is not DynamicHii type and does not map to the setup option.\r
   //\r
   PcdTcg2PpiVersion = 0;\r
   CopyMem (\r
@@ -191,7 +191,7 @@ InitializeTcg2VersionInfo (
     AsciiStrSize ((CHAR8 *) PcdGetPtr (PcdTcgPhysicalPresenceInterfaceVer))\r
     );\r
   if (PcdTcg2PpiVersion != Tcg2Version.PpiVersion) {\r
-    DEBUG ((DEBUG_WARN, "WARNING: PcdTcgPhysicalPresenceInterfaceVer is not DynamicHii type and maps to TCG2_VERSION.PpiVersion\n"));\r
+    DEBUG ((DEBUG_WARN, "WARNING: PcdTcgPhysicalPresenceInterfaceVer is not DynamicHii type and does not map to TCG2_VERSION.PpiVersion\n"));\r
     DEBUG ((DEBUG_WARN, "WARNING: The TCG2 PPI version configuring from setup page will not work\n"));\r
   }\r
 \r