]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
Fix potential overflow for SetVariable interface
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / VariableRuntimeDxe.inf
... / ...
CommitLineData
1## @file\r
2# Component description file for Variable module.\r
3#\r
4# This module installs three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName.\r
5# Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
6#\r
7# This program and the accompanying materials\r
8# are licensed and made available under the terms and conditions of the BSD License\r
9# which accompanies this distribution. The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14#\r
15##\r
16\r
17[Defines]\r
18 INF_VERSION = 0x00010005\r
19 BASE_NAME = VariableRuntimeDxe\r
20 FILE_GUID = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60\r
21 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
22 VERSION_STRING = 1.0\r
23 ENTRY_POINT = VariableServiceInitialize\r
24\r
25#\r
26# The following information is for reference only and not required by the build tools.\r
27#\r
28# VALID_ARCHITECTURES = IA32 X64 EBC\r
29#\r
30# VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent\r
31#\r
32\r
33[Sources]\r
34 Reclaim.c\r
35 Variable.c\r
36 VariableDxe.c\r
37 Variable.h\r
38\r
39[Packages]\r
40 MdePkg/MdePkg.dec\r
41 MdeModulePkg/MdeModulePkg.dec\r
42\r
43[LibraryClasses]\r
44 MemoryAllocationLib\r
45 BaseLib\r
46 SynchronizationLib\r
47 UefiLib\r
48 UefiBootServicesTableLib\r
49 BaseMemoryLib\r
50 DebugLib\r
51 UefiRuntimeLib\r
52 DxeServicesTableLib\r
53 UefiDriverEntryPoint\r
54 PcdLib\r
55 HobLib\r
56\r
57[Protocols]\r
58 gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r
59 gEfiVariableWriteArchProtocolGuid ## ALWAYS_PRODUCES\r
60 gEfiVariableArchProtocolGuid ## ALWAYS_PRODUCES\r
61 gEfiFaultTolerantWriteProtocolGuid ## SOMETIMES_CONSUMES\r
62\r
63[Guids]\r
64 gEfiVariableGuid ## PRODUCES ## Configuration Table Guid \r
65 gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid\r
66 gEfiEventVirtualAddressChangeGuid ## PRODUCES ## Event\r
67 gEfiSystemNvDataFvGuid ## CONSUMES\r
68 gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES\r
69\r
70[Pcd]\r
71 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize\r
72 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase\r
73 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64\r
74 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize\r
75 gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize\r
76 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize\r
77 gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize\r
78 \r
79[FeaturePcd]\r
80 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## SOMETIME_CONSUMES (statistic the information of variable.)\r
81\r
82[Depex]\r
83 TRUE\r
84\r
85# [Event]\r
86# ##\r
87# # Event will be signaled for VIRTUAL_ADDRESS_CHANGE event.\r
88# #\r
89# EVENT_TYPE_NOTIFY_SIGNAL ## PRODUCES\r
90#\r
91#\r
92 \r