ALWAYS_COSUMED changed to ALWAYS_PRODUCED
[mirror_edk2.git] / EdkModulePkg / Universal / Variable / RuntimeDxe / Variable.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
3 <MsaHeader>
4 <ModuleName>Variable</ModuleName>
5 <ModuleType>DXE_RUNTIME_DRIVER</ModuleType>
6 <GuidValue>CBD2E4D5-7068-4FF5-B462-9822B4AD8D60</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Component description file for Variable module.</Abstract>
9 <Description>This module installs three EFI_RUNTIME_SERVICES: SetVariable, GetVariable, GetNextVariableName.</Description>
10 <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>
11 <License>All rights reserved. This program and the accompanying materials
12 are licensed and made available under the terms and conditions of the BSD License
13 which accompanies this distribution. The full text of the license may be found at
14 http://opensource.org/licenses/bsd-license.php
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
17 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
18 </MsaHeader>
19 <ModuleDefinitions>
20 <SupportedArchitectures>IA32 X64</SupportedArchitectures>
21 <BinaryModule>false</BinaryModule>
22 <OutputFileBasename>Variable</OutputFileBasename>
23 </ModuleDefinitions>
24 <LibraryClassDefinitions>
25 <LibraryClass Usage="ALWAYS_CONSUMED">
26 <Keyword>PcdLib</Keyword>
27 </LibraryClass>
28 <LibraryClass Usage="ALWAYS_CONSUMED">
29 <Keyword>BaseLib</Keyword>
30 </LibraryClass>
31 <LibraryClass Usage="ALWAYS_CONSUMED">
32 <Keyword>UefiLib</Keyword>
33 </LibraryClass>
34 <LibraryClass Usage="ALWAYS_CONSUMED">
35 <Keyword>UefiDriverEntryPoint</Keyword>
36 </LibraryClass>
37 <LibraryClass Usage="ALWAYS_CONSUMED">
38 <Keyword>DxeServicesTableLib</Keyword>
39 </LibraryClass>
40 <LibraryClass Usage="ALWAYS_CONSUMED">
41 <Keyword>UefiRuntimeLib</Keyword>
42 </LibraryClass>
43 <LibraryClass Usage="ALWAYS_CONSUMED">
44 <Keyword>DebugLib</Keyword>
45 </LibraryClass>
46 <LibraryClass Usage="ALWAYS_CONSUMED">
47 <Keyword>HobLib</Keyword>
48 </LibraryClass>
49 <LibraryClass Usage="ALWAYS_CONSUMED">
50 <Keyword>BaseMemoryLib</Keyword>
51 </LibraryClass>
52 <LibraryClass Usage="ALWAYS_CONSUMED">
53 <Keyword>EdkFvbServiceLib</Keyword>
54 </LibraryClass>
55 <LibraryClass Usage="ALWAYS_CONSUMED">
56 <Keyword>UefiBootServicesTableLib</Keyword>
57 </LibraryClass>
58 </LibraryClassDefinitions>
59 <SourceFiles>
60 <Filename>Variable.h</Filename>
61 <Filename>Variable.c</Filename>
62 <Filename>reclaim.h</Filename>
63 <Filename>reclaim.c</Filename>
64 <Filename>InitVariable.c</Filename>
65 <Filename>Variable.dxs</Filename>
66 </SourceFiles>
67 <PackageDependencies>
68 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
69 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
70 </PackageDependencies>
71 <Protocols>
72 <Protocol Usage="ALWAYS_PRODUCED">
73 <ProtocolCName>gEfiVariableArchProtocolGuid</ProtocolCName>
74 </Protocol>
75 <Protocol Usage="ALWAYS_PRODUCED">
76 <ProtocolCName>gEfiVariableWriteArchProtocolGuid</ProtocolCName>
77 </Protocol>
78 <Protocol Usage="ALWAYS_CONSUMED">
79 <ProtocolCName>gEfiFaultTolerantWriteLiteProtocolGuid</ProtocolCName>
80 </Protocol>
81 <Protocol Usage="ALWAYS_CONSUMED">
82 <ProtocolCName>gEfiCpuIoProtocolGuid</ProtocolCName>
83 </Protocol>
84 <Protocol Usage="ALWAYS_CONSUMED">
85 <ProtocolCName>gEfiFvbExtensionProtocolGuid</ProtocolCName>
86 </Protocol>
87 <Protocol Usage="ALWAYS_CONSUMED">
88 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>
89 </Protocol>
90 <Protocol Usage="ALWAYS_CONSUMED">
91 <ProtocolCName>gEfiVariableArchProtocolGuid</ProtocolCName>
92 </Protocol>
93 <Protocol Usage="ALWAYS_CONSUMED">
94 <ProtocolCName>gEfiVariableWriteArchProtocolGuid</ProtocolCName>
95 </Protocol>
96 <Protocol Usage="ALWAYS_CONSUMED">
97 <ProtocolCName>gEfiFaultTolerantWriteLiteProtocolGuid</ProtocolCName>
98 </Protocol>
99 <Protocol Usage="ALWAYS_CONSUMED">
100 <ProtocolCName>gEfiCpuIoProtocolGuid</ProtocolCName>
101 </Protocol>
102 <Protocol Usage="ALWAYS_CONSUMED">
103 <ProtocolCName>gEfiFvbExtensionProtocolGuid</ProtocolCName>
104 </Protocol>
105 <Protocol Usage="ALWAYS_CONSUMED">
106 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>
107 </Protocol>
108 </Protocols>
109 <Guids>
110 <GuidCNames Usage="ALWAYS_CONSUMED">
111 <GuidCName>gEfiFlashMapHobGuid</GuidCName>
112 </GuidCNames>
113 <!--<GuidCNames Usage="ALWAYS_CONSUMED">
114 <GuidCName>Hob</GuidCName>
115 </GuidCNames>-->
116 <!--<GuidCNames Usage="ALWAYS_CONSUMED">
117 <GuidCName>SystemNvData</GuidCName>
118 </GuidCNames>-->
119 <GuidCNames Usage="ALWAYS_CONSUMED">
120 <GuidCName>gEfiAlternateFvBlockGuid</GuidCName>
121 </GuidCNames>
122 </Guids>
123 <Externs>
124 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
125 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
126 <Extern>
127 <ModuleEntryPoint>VariableServiceInitialize</ModuleEntryPoint>
128 </Extern>
129 <Extern>
130 <SetVirtualAddressMapCallBack>VariableClassAddressChangeEvent</SetVirtualAddressMapCallBack>
131 </Extern>
132 </Externs>
133 <PcdCoded>
134 <PcdEntry PcdItemType="DYNAMIC">
135 <C_Name>PcdFlashNvStorageVariableBase</C_Name>
136 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
137 <HelpText>
138 The driver gets the Variable store base address from this PCD. This base address point to
139 an EFI_FIRMWARE_VOLUMN_HEADER struct.
140 </HelpText>
141 </PcdEntry>
142 <PcdEntry PcdItemType="DYNAMIC">
143 <C_Name>PcdFlashNvStorageVariableSize</C_Name>
144 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
145 <HelpText>
146 The driver gets the NvStorage Variable Size from this PCD.
147 </HelpText>
148 </PcdEntry>
149 </PcdCoded>
150 </ModuleSurfaceArea>