768deb5493053785b58fbdf1706ede5b5990f4ac
[mirror_edk2.git] / MdeModulePkg / Universal / VariableRuntimeDxe / Variable.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 ################################################################################
18 #
19 # Defines Section - statements that will be processed to create a Makefile.
20 #
21 ################################################################################
22 [Defines]
23 INF_VERSION = 0x00010005
24 BASE_NAME = Variable
25 FILE_GUID = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60
26 MODULE_TYPE = DXE_RUNTIME_DRIVER
27 VERSION_STRING = 1.0
28 EDK_RELEASE_VERSION = 0x00020000
29 EFI_SPECIFICATION_VERSION = 0x00020000
30
31 ENTRY_POINT = VariableServiceInitialize
32
33 #
34 # The following information is for reference only and not required by the build tools.
35 #
36 # VALID_ARCHITECTURES = IA32 X64
37 #
38 # VIRTUAL_ADDRESS_MAP_CALLBACK = VariableClassAddressChangeEvent
39 #
40
41 ################################################################################
42 #
43 # Sources Section - list of files that are required for the build to succeed.
44 #
45 ################################################################################
46
47 [Sources.common]
48 InitVariable.c
49 reclaim.c
50 reclaim.h
51 Variable.c
52 Variable.h
53 CommonHeader.h
54
55
56 ################################################################################
57 #
58 # Package Dependency Section - list of Package files that are required for
59 # this module.
60 #
61 ################################################################################
62
63 [Packages]
64 MdePkg/MdePkg.dec
65 MdeModulePkg/MdeModulePkg.dec
66 IntelFrameworkPkg/IntelFrameworkPkg.dec
67
68 ################################################################################
69 #
70 # Library Class Section - list of Library Classes that are required for
71 # this module.
72 #
73 ################################################################################
74
75 [LibraryClasses]
76 MemoryAllocationLib
77 BaseLib
78 UefiLib
79 UefiBootServicesTableLib
80 FvbServiceLib
81 BaseMemoryLib
82 DebugLib
83 UefiRuntimeLib
84 DxeServicesTableLib
85 UefiDriverEntryPoint
86 PcdLib
87
88
89 ################################################################################
90 #
91 # Protocol C Name Section - list of Protocol and Protocol Notify C Names
92 # that this module uses or produces.
93 #
94 ################################################################################
95
96 [Protocols]
97 gEfiFirmwareVolumeBlockProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
98 gEfiFaultTolerantWriteLiteProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
99 gEfiVariableWriteArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
100 gEfiVariableArchProtocolGuid # PROTOCOL ALWAYS_PRODUCED
101
102
103 ################################################################################
104 #
105 # Pcd DYNAMIC - list of PCDs that this module is coded for.
106 #
107 ################################################################################
108
109 [PcdsDynamic.common]
110 PcdFlashNvStorageVariableSize|gEfiGenericPlatformTokenSpaceGuid
111 PcdFlashNvStorageVariableBase|gEfiGenericPlatformTokenSpaceGuid
112
113
114 ################################################################################
115 #
116 # Dependency Expression Section - list of Dependency expressions that are required for
117 # this module.
118 #
119 ################################################################################
120
121 [Depex]
122 gEfiFirmwareVolumeBlockProtocolGuid AND gEfiAlternateFvBlockGuid AND gEfiFaultTolerantWriteLiteProtocolGuid
123
124