-#/** @file\r
-# Sample UEFI Application Reference Module.\r
-# This is a shell application that will display statistical information about variable\r
-# usage.\r
-# \r
-# Copyright (c) 2007 - 2008, Intel Corporation.\r
-# All rights reserved. This program and the accompanying materials\r
+## @file\r
+# A shell application that displays statistical information about variable usage.\r
+#\r
+# This application can display statistical information about variable usage for SMM variable\r
+# driver and non-SMM variable driver.\r
+# Note that if Variable Dxe driver doesn't enable the feature by setting PcdVariableCollectStatistics\r
+# as TRUE, the application will not display variable statistical information.\r
+#\r
+# Copyright (c) 2007 - 2015, 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
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
-#**/\r
+##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = VariableInfo\r
+ MODULE_UNI_FILE = VariableInfo.uni\r
FILE_GUID = 202A2922-8C27-4943-9855-26180BF9F113\r
MODULE_TYPE = UEFI_APPLICATION\r
VERSION_STRING = 1.0\r
-\r
ENTRY_POINT = UefiMain\r
\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
\r
-[Sources.common]\r
+[Sources]\r
VariableInfo.c\r
\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
\r
-\r
[LibraryClasses]\r
UefiApplicationEntryPoint\r
UefiLib\r
+ UefiBootServicesTableLib\r
+ BaseMemoryLib\r
+ MemoryAllocationLib\r
+\r
+[Protocols]\r
+ gEfiSmmCommunicationProtocolGuid ## SOMETIMES_CONSUMES\r
+\r
+ ## UNDEFINED # Used to do smm communication\r
+ ## SOMETIMES_CONSUMES\r
+ gEfiSmmVariableProtocolGuid\r
\r
[Guids]\r
- gEfiVariableInfoGuid ## CONSUMES ## Configuration Table Guid\r
+ gEfiAuthenticatedVariableGuid ## SOMETIMES_CONSUMES ## SystemTable\r
+ gEfiVariableGuid ## CONSUMES ## SystemTable\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ VariableInfoExtra.uni\r