diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-18 08:23:57 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-18 08:23:57 +0000 |
commit | 5e895e6af6ce50e5e90add46c68e7c42ace9bf64 (patch) | |
tree | 3bb11b06eb24aa99888fe1a740ad89639218a0b7 /MdeModulePkg/Application/VariableInfo | |
parent | 3cd91d3218707f2633536856b8533c9cdd65bc9e (diff) | |
download | edk2-5e895e6af6ce50e5e90add46c68e7c42ace9bf64.zip edk2-5e895e6af6ce50e5e90add46c68e7c42ace9bf64.tar.gz edk2-5e895e6af6ce50e5e90add46c68e7c42ace9bf64.tar.bz2 |
update the usage help text on variable statistic information.
VariableInfo application also is added a output string to help user know what happens.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8596 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Application/VariableInfo')
-rw-r--r-- | MdeModulePkg/Application/VariableInfo/VariableInfo.c | 7 | ||||
-rw-r--r-- | MdeModulePkg/Application/VariableInfo/VariableInfo.inf | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/MdeModulePkg/Application/VariableInfo/VariableInfo.c b/MdeModulePkg/Application/VariableInfo/VariableInfo.c index ba4f553..ac92cc3 100644 --- a/MdeModulePkg/Application/VariableInfo/VariableInfo.c +++ b/MdeModulePkg/Application/VariableInfo/VariableInfo.c @@ -82,6 +82,13 @@ UefiMain ( VariableInfo = VariableInfo->Next;
} while (VariableInfo != NULL);
+ } else {
+ Print (L"Warning: Variable Dxe driver doesn't enable the feature of statistical information!\n");
+ Print (L"If you want to see this info, please:\n");
+ Print (L" 1. Set PcdVariableCollectStatistics as TRUE\n");
+ Print (L" 2. Rebuild Variable Dxe driver\n");
+ Print (L" 3. Run \"VariableInfo\" cmd again\n");
+
}
return Status;
diff --git a/MdeModulePkg/Application/VariableInfo/VariableInfo.inf b/MdeModulePkg/Application/VariableInfo/VariableInfo.inf index f963db5..7cadb23 100644 --- a/MdeModulePkg/Application/VariableInfo/VariableInfo.inf +++ b/MdeModulePkg/Application/VariableInfo/VariableInfo.inf @@ -2,7 +2,9 @@ # Sample UEFI Application Reference Module.
# This is a shell application that will display statistical information about variable
# usage.
-#
+# Note that if Variable Dxe driver doesn't enable the feature by setting PcdVariableCollectStatistics
+# as TRUE, The application will not display variable statistical information.
+#
# Copyright (c) 2007 - 2008, Intel Corporation.
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
|