]>
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 | |
b2bd493e | 11 | # Copyright (c) 2006 - 2014, 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 |
45 | \r | |
46 | [Packages]\r | |
47 | MdePkg/MdePkg.dec\r | |
623ad724 | 48 | MdeModulePkg/MdeModulePkg.dec\r |
8d3a5c82 | 49 | \r |
50 | [LibraryClasses]\r | |
51 | MemoryAllocationLib\r | |
52 | BaseLib\r | |
4cf894eb | 53 | SynchronizationLib\r |
8d3a5c82 | 54 | UefiLib\r |
55 | UefiBootServicesTableLib\r | |
8d3a5c82 | 56 | BaseMemoryLib\r |
57 | DebugLib\r | |
58 | UefiRuntimeLib\r | |
59 | DxeServicesTableLib\r | |
60 | UefiDriverEntryPoint\r | |
61 | PcdLib\r | |
0f7aff72 | 62 | HobLib\r |
8d3a5c82 | 63 | \r |
8d3a5c82 | 64 | [Protocols]\r |
6036e94d SZ |
65 | gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES\r |
66 | ## CONSUMES\r | |
67 | ## NOTIFY\r | |
68 | gEfiFaultTolerantWriteProtocolGuid\r | |
69 | gEfiVariableWriteArchProtocolGuid ## PRODUCES\r | |
70 | gEfiVariableArchProtocolGuid ## PRODUCES\r | |
71 | gEdkiiVariableLockProtocolGuid ## PRODUCES\r | |
8d3a5c82 | 72 | \r |
33a5a666 | 73 | [Guids]\r |
6036e94d SZ |
74 | ## PRODUCES ## GUID # Signature of Variable store header\r |
75 | ## CONSUMES ## GUID # Signature of Variable store header\r | |
76 | ## SOMETIMES_CONSUMES ## HOB\r | |
77 | ## SOMETIMES_PRODUCES ## SystemTable\r | |
78 | gEfiVariableGuid\r | |
79 | ## SOMETIMES_CONSUMES ## Variable:L"PlatformLang"\r | |
80 | ## SOMETIMES_PRODUCES ## Variable:L"PlatformLang"\r | |
81 | ## SOMETIMES_CONSUMES ## Variable:L"Lang"\r | |
82 | ## SOMETIMES_PRODUCES ## Variable:L"Lang"\r | |
83 | ## SOMETIMES_CONSUMES ## Variable:L"HwErrRecSupport"\r | |
84 | gEfiGlobalVariableGuid\r | |
85 | gEfiEventVirtualAddressChangeGuid ## CONSUMES ## Event\r | |
86 | gEfiSystemNvDataFvGuid ## CONSUMES ## GUID\r | |
87 | gEfiHardwareErrorVariableGuid ## SOMETIMES_CONSUMES ## Variable:L"HwErrRec####"\r | |
88 | gEfiEndOfDxeEventGroupGuid ## CONSUMES ## Event\r | |
89 | ## SOMETIMES_CONSUMES ## HOB\r | |
90 | gEdkiiFaultTolerantWriteGuid\r | |
33a5a666 | 91 | \r |
6bfbb5f0 | 92 | [Pcd]\r |
6036e94d SZ |
93 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize ## CONSUMES\r |
94 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase ## SOMETIMES_CONSUMES\r | |
95 | gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64 ## CONSUMES\r | |
96 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize ## CONSUMES\r | |
97 | gEfiMdeModulePkgTokenSpaceGuid.PcdMaxHardwareErrorVariableSize ## CONSUMES\r | |
98 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize ## CONSUMES\r | |
99 | gEfiMdeModulePkgTokenSpaceGuid.PcdHwErrStorageSize ## CONSUMES\r | |
33a5a666 | 100 | \r |
6bfbb5f0 | 101 | [FeaturePcd]\r |
b2bd493e SZ |
102 | gEfiMdeModulePkgTokenSpaceGuid.PcdVariableCollectStatistics ## CONSUMES # statistic the information of variable.\r |
103 | gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangDeprecate ## CONSUMES\r | |
8d3a5c82 | 104 | \r |
105 | [Depex]\r | |
8a2d4996 | 106 | TRUE\r |
8d3a5c82 | 107 | \r |
6036e94d SZ |
108 | [UserExtensions.TianoCore."ExtraFiles"]\r |
109 | VariableRuntimeDxeExtra.uni\r |