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