MdeModulePkg/Variable/RuntimeDxe: introduce PcdMaxVolatileVariableSize
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableRuntimeDxe.inf
1 ## @file
2 # Provides variable service.
3 #
4 # This module installs variable arch protocol and variable write arch protocol to provide
5 # variable services: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo.
6 #
7 # Caution: This module requires additional review when modified.
8 # This driver will have external input - variable data.
9 # This external input must be validated carefully to avoid security issues such as
10 # buffer overflow or integer overflow.
11 #
12 # Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
13 # This program and the accompanying materials
14 # are licensed and made available under the terms and conditions of the BSD License
15 # which accompanies this distribution. The full text of the license may be found at
16 # http://opensource.org/licenses/bsd-license.php
17 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #
20 ##
21
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = VariableRuntimeDxe
25 MODULE_UNI_FILE = VariableRuntimeDxe.uni
26 FILE_GUID = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60
27 MODULE_TYPE = DXE_RUNTIME_DRIVER
28 VERSION_STRING = 1.0
29 ENTRY_POINT = VariableServiceInitialize
30
31 #
32 # The following information is for reference only and not required by the build tools.
33 #
34 # VALID_ARCHITECTURES = IA32 X64 EBC
35 #
36 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
37 #
38
39 [Sources]
40 Reclaim.c
41 Variable.c
42 VariableDxe.c
43 Variable.h
44 PrivilegePolymorphic.h
45 Measurement.c
46 TcgMorLockDxe.c
47 VarCheck.c
48 VariableExLib.c
49
50 [Packages]
51 MdePkg/MdePkg.dec
52 MdeModulePkg/MdeModulePkg.dec
53
54 [LibraryClasses]
55 MemoryAllocationLib
56 BaseLib
57 SynchronizationLib
58 UefiLib
59 UefiBootServicesTableLib
60 BaseMemoryLib
61 DebugLib
62 UefiRuntimeLib
63 DxeServicesTableLib
64 UefiDriverEntryPoint
65 PcdLib
66 HobLib
67 TpmMeasurementLib
68 AuthVariableLib
69 VarCheckLib
70
71 [Protocols]
72 gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES
73 ## CONSUMES
74 ## NOTIFY
75 gEfiFaultTolerantWriteProtocolGuid
76 gEfiVariableWriteArchProtocolGuid ## PRODUCES
77 gEfiVariableArchProtocolGuid ## PRODUCES
78 gEdkiiVariableLockProtocolGuid ## PRODUCES
79 gEdkiiVarCheckProtocolGuid ## PRODUCES
80
81 [Guids]
82 ## SOMETIMES_CONSUMES ## GUID # Signature of Variable store header
83 ## SOMETIMES_PRODUCES ## GUID # Signature of Variable store header
84 ## SOMETIMES_CONSUMES ## HOB
85 ## SOMETIMES_PRODUCES ## SystemTable
86 gEfiAuthenticatedVariableGuid
87
88 ## SOMETIMES_CONSUMES ## GUID # Signature of Variable store header
89 ## SOMETIMES_PRODUCES ## GUID # Signature of Variable store header
90 ## SOMETIMES_CONSUMES ## HOB
91 ## SOMETIMES_PRODUCES ## SystemTable
92 gEfiVariableGuid
93
94 ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"
95 ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"
96 ## SOMETIMES_CONSUMES ## Variable:L"Lang"
97 ## SOMETIMES_PRODUCES ## Variable:L"Lang"
98 ## SOMETIMES_CONSUMES ## Variable:L"PK"
99 ## SOMETIMES_CONSUMES ## Variable:L"KEK"
100 ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
101 gEfiGlobalVariableGuid
102
103 gEfiMemoryOverwriteControlDataGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl"
104 gEfiMemoryOverwriteRequestControlLockGuid ## SOMETIMES_PRODUCES ## Variable:L"MemoryOverwriteRequestControlLock"
105
106 gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event
107 gEfiSystemNvDataFvGuid ## CONSUMES ## GUID
108 gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event
109 gEdkiiFaultTolerantWriteGuid ## SOMETIMES_CONSUMES ## HOB
110
111 ## SOMETIMES_CONSUMES ## Variable:L"VarErrorFlag"
112 ## SOMETIMES_PRODUCES ## Variable:L"VarErrorFlag"
113 gEdkiiVarErrorFlagGuid
114
115 ## SOMETIMES_CONSUMES ## Variable:L"db"
116 ## SOMETIMES_CONSUMES ## Variable:L"dbx"
117 ## SOMETIMES_CONSUMES ## Variable:L"dbt"
118 gEfiImageSecurityDatabaseGuid
119
120 [Pcd]
121 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES
122 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES
123 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES
124 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES
125 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize ## CONSUMES
126 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVolatileVariableSize ## CONSUMES
127 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES
128 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES
129 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES
130 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxUserNvVariableSpaceSize ## CONSUMES
131 gEfiMdeModulePkgTokenSpaceGuid.PcdBoottimeReservedNvVariableSpaceSize ## CONSUMES
132 gEfiMdeModulePkgTokenSpaceGuid.PcdReclaimVariableSpaceAtEndOfDxe ## CONSUMES
133
134 [FeaturePcd]
135 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.
136 gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES # Auto update PlatformLang/Lang
137
138 [Depex]
139 TRUE
140
141 [UserExtensions.TianoCore."ExtraFiles"]
142 VariableRuntimeDxeExtra.uni