]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
MdeModulePkg Variable: Abstract GetHobVariableStore function
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / EmuRuntimeDxe / EmuVariableRuntimeDxe.inf
index 36fa152d9d73888034131c713b2b4ce8927702af..12d52dd130e317c7ed041cf144805b8547bfc62b 100644 (file)
@@ -1,10 +1,12 @@
-#/** @file\r
+## @file\r
 # Emulation Variable for EFI_RUNTIME_SERVICES.\r
 #\r
-# This module provides three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName\r
-# Copyright (c) 2006 - 2007, Intel Corporation\r
+# This module installs variable arch protocol and variable write arch protocol to provide\r
+# four EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo.\r
 #\r
-#  All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+#\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
 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 #\r
 #\r
-#**/\r
+##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = EmuVariableRuntimeDxe\r
+  MODULE_UNI_FILE                = EmuVariableRuntimeDxe.uni\r
   FILE_GUID                      = 02B01AD5-7E59-43e8-A6D8-238180613A5A\r
   MODULE_TYPE                    = DXE_RUNTIME_DRIVER\r
   VERSION_STRING                 = 1.0\r
@@ -28,7 +31,7 @@
 #  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
 \r
-[Sources.common]\r
+[Sources]\r
   InitVariable.c\r
   EmuVariable.c\r
   Variable.h\r
   DebugLib\r
   MemoryAllocationLib\r
   BaseMemoryLib\r
-\r
+  HobLib\r
+  PcdLib\r
 \r
 [Protocols]\r
   gEfiVariableArchProtocolGuid                  ## PRODUCES\r
   gEfiVariableWriteArchProtocolGuid             ## PRODUCES\r
 \r
 [Guids]\r
-  gEfiEventVirtualAddressChangeGuid\r
+  gEfiEventVirtualAddressChangeGuid             ## CONSUMES             ## Event\r
+  ## SOMETIMES_CONSUMES   ## Variable:L"PlatformLang"\r
+  ## SOMETIMES_PRODUCES   ## Variable:L"PlatformLang"\r
+  ## SOMETIMES_CONSUMES   ## Variable:L"Lang"\r
+  ## SOMETIMES_PRODUCES   ## Variable:L"Lang"\r
+  gEfiGlobalVariableGuid\r
+  ## PRODUCES             ## GUID # Signature of Variable store header\r
+  ## CONSUMES             ## GUID # Signature of Variable store header\r
+  ## SOMETIMES_CONSUMES   ## HOB\r
+  ## SOMETIMES_PRODUCES   ## SystemTable\r
+  gEfiVariableGuid\r
 \r
-[Pcd.common]\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r
+[Pcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved      ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize                 ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize    ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize               ## CONSUMES\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize                ## CONSUMES\r
+\r
+[FeaturePcd]\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics   ## CONSUMES # statistic the information of variable.\r
 \r
 [Depex]\r
   TRUE\r
 \r
-# [Event]\r
-#   ##\r
-#   # Event will be signaled for VIRTUAL_ADDRESS_CHANGE event.\r
-#   #\r
-#   EVENT_TYPE_NOTIFY_SIGNAL                    ## PRODUCES\r
-#\r
-#
\ No newline at end of file
+[UserExtensions.TianoCore."ExtraFiles"]\r
+  EmuVariableRuntimeDxeExtra.uni\r