]>
Commit | Line | Data |
---|---|---|
6bfbb5f0 | 1 | ## @file\r |
6036e94d SZ |
2 | # This module installs variable arch protocol and variable write arch protocol.\r |
3 | #\r | |
4 | # It provides four EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName and QueryVariableInfo.\r | |
8d3a5c82 | 5 | #\r |
18a7dbbc SZ |
6 | # Caution: This module requires additional review when modified.\r |
7 | # This driver will have external input - variable data.\r | |
8 | # This external input must be validated carefully to avoid security issues such as\r | |
9 | # buffer overflow or integer overflow.\r | |
10 | #\r | |
efb01a10 | 11 | # Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>\r |
8d3a5c82 | 12 | #\r |
e5eed7d3 | 13 | # This program and the accompanying materials\r |
8d3a5c82 | 14 | # are licensed and made available under the terms and conditions of the BSD License\r |
15 | # which accompanies this distribution. The full text of the license may be found at\r | |
16 | # http://opensource.org/licenses/bsd-license.php\r | |
17 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
18 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
19 | #\r | |
20 | #\r | |
6bfbb5f0 | 21 | ##\r |
8d3a5c82 | 22 | \r |
23 | [Defines]\r | |
24 | INF_VERSION = 0x00010005\r | |
25 | BASE_NAME = VariableRuntimeDxe\r | |
6036e94d | 26 | MODULE_UNI_FILE = VariableRuntimeDxe.uni\r |
8d3a5c82 | 27 | FILE_GUID = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60\r |
28 | MODULE_TYPE = DXE_RUNTIME_DRIVER\r | |
29 | VERSION_STRING = 1.0\r | |
8d3a5c82 | 30 | ENTRY_POINT = VariableServiceInitialize\r |
31 | \r | |
32 | #\r | |
33 | # The following information is for reference only and not required by the build tools.\r | |
34 | #\r | |
078bee4e | 35 | # VALID_ARCHITECTURES = IA32 X64 EBC\r |
8d3a5c82 | 36 | #\r |
37 | # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent\r | |
38 | #\r | |
39 | \r | |
6bfbb5f0 | 40 | [Sources]\r |
f8478314 | 41 | Reclaim.c\r |
8d3a5c82 | 42 | Variable.c\r |
8a2d4996 | 43 | VariableDxe.c\r |
8d3a5c82 | 44 | Variable.h\r |
efb01a10 | 45 | VarCheck.c\r |
8d3a5c82 | 46 | \r |
47 | [Packages]\r | |
48 | MdePkg/MdePkg.dec\r | |
623ad724 | 49 | MdeModulePkg/MdeModulePkg.dec\r |
8d3a5c82 | 50 | \r |
51 | [LibraryClasses]\r | |
52 | MemoryAllocationLib\r | |
53 | BaseLib\r | |
4cf894eb | 54 | SynchronizationLib\r |
8d3a5c82 | 55 | UefiLib\r |
56 | UefiBootServicesTableLib\r | |
8d3a5c82 | 57 | BaseMemoryLib\r |
58 | DebugLib\r | |
59 | UefiRuntimeLib\r | |
60 | DxeServicesTableLib\r | |
61 | UefiDriverEntryPoint\r | |
62 | PcdLib\r | |
0f7aff72 | 63 | HobLib\r |
efb01a10 | 64 | DevicePathLib\r |
8d3a5c82 | 65 | \r |
8d3a5c82 | 66 | [Protocols]\r |
6036e94d SZ |
67 | gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES\r |
68 | ## CONSUMES\r | |
69 | ## NOTIFY\r | |
70 | gEfiFaultTolerantWriteProtocolGuid\r | |
71 | gEfiVariableWriteArchProtocolGuid ## PRODUCES\r | |
72 | gEfiVariableArchProtocolGuid ## PRODUCES\r | |
73 | gEdkiiVariableLockProtocolGuid ## PRODUCES\r | |
efb01a10 | 74 | gEdkiiVarCheckProtocolGuid ## PRODUCES\r |
8d3a5c82 | 75 | \r |
33a5a666 | 76 | [Guids]\r |
6036e94d SZ |
77 | ## PRODUCES ## GUID # Signature of Variable store header\r |
78 | ## CONSUMES ## GUID # Signature of Variable store header\r | |
79 | ## SOMETIMES_CONSUMES ## HOB\r | |
80 | ## SOMETIMES_PRODUCES ## SystemTable\r | |
81 | gEfiVariableGuid\r | |
82 | ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"\r | |
83 | ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"\r | |
84 | ## SOMETIMES_CONSUMES ## Variable:L"Lang"\r | |
85 | ## SOMETIMES_PRODUCES ## Variable:L"Lang"\r | |
86 | ## SOMETIMES_CONSUMES ## Variable:L"HwErrRecSupport"\r | |
87 | gEfiGlobalVariableGuid\r | |
88 | gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r | |
89 | gEfiSystemNvDataFvGuid ## CONSUMES ## GUID\r | |
90 | gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"HwErrRec####"\r | |
91 | gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event\r | |
92 | ## SOMETIMES_CONSUMES ## HOB\r | |
93 | gEdkiiFaultTolerantWriteGuid\r | |
33a5a666 | 94 | \r |
6bfbb5f0 | 95 | [Pcd]\r |
6036e94d SZ |
96 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES\r |
97 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES\r | |
98 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES\r | |
99 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r | |
100 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r | |
101 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES\r | |
102 | gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES\r | |
33a5a666 | 103 | \r |
6bfbb5f0 | 104 | [FeaturePcd]\r |
b2bd493e SZ |
105 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.\r |
106 | gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES\r | |
8d3a5c82 | 107 | \r |
108 | [Depex]\r | |
8a2d4996 | 109 | TRUE\r |
8d3a5c82 | 110 | \r |
6036e94d SZ |
111 | [UserExtensions.TianoCore."ExtraFiles"]\r |
112 | VariableRuntimeDxeExtra.uni\r |