]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
define the variable related to PCD for supporting big variable (>32K) easily.
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableRuntimeDxe.inf
1 #/** @file
2 # Component description file for Variable module.
3 #
4 # This module installs three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName.
5 # Copyright (c) 2006 - 2007, Intel Corporation
6 #
7 # All rights reserved. This program and the accompanying materials
8 # are licensed and made available under the terms and conditions of the BSD License
9 # which accompanies this distribution. The full text of the license may be found at
10 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 #
14 #
15 #**/
16
17 [Defines]
18 INF_VERSION = 0x00010005
19 BASE_NAME = VariableRuntimeDxe
20 FILE_GUID = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60
21 MODULE_TYPE = DXE_RUNTIME_DRIVER
22 VERSION_STRING = 1.0
23 EDK_RELEASE_VERSION = 0x00020000
24 EFI_SPECIFICATION_VERSION = 0x00020000
25
26 ENTRY_POINT = VariableServiceInitialize
27
28 #
29 # The following information is for reference only and not required by the build tools.
30 #
31 # VALID_ARCHITECTURES = IA32 X64
32 #
33 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
34 #
35
36 [Sources.common]
37 reclaim.c
38 Variable.c
39 Variable.h
40
41 [Packages]
42 MdePkg/MdePkg.dec
43 MdeModulePkg/MdeModulePkg.dec
44
45 [LibraryClasses]
46 MemoryAllocationLib
47 BaseLib
48 UefiLib
49 UefiBootServicesTableLib
50 FvbServiceLib
51 BaseMemoryLib
52 DebugLib
53 UefiRuntimeLib
54 DxeServicesTableLib
55 UefiDriverEntryPoint
56 PcdLib
57 HobLib
58
59 [Protocols]
60 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
61 gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
62 gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
63 gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
64
65 [Guids]
66 gEfiVariableInfoGuid
67 gEfiGlobalVariableGuid
68
69 [Pcd.common]
70 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
72 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize
73 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize
74 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize
75
76 [FeaturePcd.common]
77 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics
78
79 [Depex]
80 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid AND gEfiFaultTolerantWriteLiteProtocolGuid
81