+++ /dev/null
-## @file\r
-# Emulation Variable for EFI_RUNTIME_SERVICES.\r
-#\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
-# 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
-# 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 = 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
- ENTRY_POINT = VariableServiceInitialize\r
-\r
-#\r
-# The following information is for reference only and not required by the build tools.\r
-#\r
-# VALID_ARCHITECTURES = IA32 X64 EBC\r
-#\r
-\r
-[Sources]\r
- InitVariable.c\r
- EmuVariable.c\r
- Variable.h\r
-\r
-\r
-[Packages]\r
- MdePkg/MdePkg.dec\r
- MdeModulePkg/MdeModulePkg.dec\r
-\r
-\r
-[LibraryClasses]\r
- BaseLib\r
- UefiLib\r
- UefiBootServicesTableLib\r
- UefiDriverEntryPoint\r
- UefiRuntimeLib\r
- DebugLib\r
- MemoryAllocationLib\r
- BaseMemoryLib\r
- HobLib\r
- PcdLib\r
-\r
-[Protocols]\r
- gEfiVariableArchProtocolGuid ## PRODUCES\r
- gEfiVariableWriteArchProtocolGuid ## PRODUCES\r
-\r
-[Guids]\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]\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
-[UserExtensions.TianoCore."ExtraFiles"]\r
- EmuVariableRuntimeDxeExtra.uni\r