]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Application/VariableInfo/VariableInfo.c
Clean up DEC files:
[mirror_edk2.git] / MdeModulePkg / Application / VariableInfo / VariableInfo.c
index ba4f553f4924dc54834c17e43c0e03b8200b77ad..50b67d097480605c013e132d927d60124a8ce30b 100644 (file)
@@ -4,8 +4,8 @@
   an this utility will print out the information. You can use console redirection\r
   to capture the data.\r
   \r
-  Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   http://opensource.org/licenses/bsd-license.php                                            \r
@@ -82,6 +82,13 @@ UefiMain (
       VariableInfo = VariableInfo->Next;\r
     } while (VariableInfo != NULL);\r
 \r
+  } else {\r
+    Print (L"Warning: Variable Dxe driver doesn't enable the feature of statistical information!\n");\r
+    Print (L"If you want to see this info, please:\n");\r
+    Print (L"  1. Set PcdVariableCollectStatistics as TRUE\n");\r
+    Print (L"  2. Rebuild Variable Dxe driver\n");\r
+    Print (L"  3. Run \"VariableInfo\" cmd again\n");\r
+\r
   }\r
 \r
   return Status;\r