]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.msa
Add a lock to protect the critical region in Service APIs for UEFI Runtime Variable...
[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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
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 - 2007, 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>UefiDriverEntryPoint</Keyword>
30 </LibraryClass>
31 <LibraryClass Usage="ALWAYS_CONSUMED">
32 <Keyword>DxeServicesTableLib</Keyword>
33 </LibraryClass>
34 <LibraryClass Usage="ALWAYS_CONSUMED">
35 <Keyword>UefiRuntimeLib</Keyword>
36 </LibraryClass>
37 <LibraryClass Usage="ALWAYS_CONSUMED">
38 <Keyword>DebugLib</Keyword>
39 </LibraryClass>
40 <LibraryClass Usage="ALWAYS_CONSUMED">
41 <Keyword>BaseMemoryLib</Keyword>
42 </LibraryClass>
43 <LibraryClass Usage="ALWAYS_CONSUMED">
44 <Keyword>EdkFvbServiceLib</Keyword>
45 </LibraryClass>
46 <LibraryClass Usage="ALWAYS_CONSUMED">
47 <Keyword>UefiBootServicesTableLib</Keyword>
48 </LibraryClass>
49 <LibraryClass Usage="ALWAYS_CONSUMED">
50 <Keyword>UefiLib</Keyword>
51 </LibraryClass>
52 </LibraryClassDefinitions>
53 <SourceFiles>
54 <Filename>Variable.h</Filename>
55 <Filename>Variable.c</Filename>
56 <Filename>reclaim.h</Filename>
57 <Filename>reclaim.c</Filename>
58 <Filename>InitVariable.c</Filename>
59 <Filename>Variable.dxs</Filename>
60 </SourceFiles>
61 <PackageDependencies>
62 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
63 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
64 </PackageDependencies>
65 <Protocols>
66 <Protocol Usage="ALWAYS_CONSUMED">
67 <ProtocolCName>gEfiVariableArchProtocolGuid</ProtocolCName>
68 </Protocol>
69 <Protocol Usage="ALWAYS_CONSUMED">
70 <ProtocolCName>gEfiVariableWriteArchProtocolGuid</ProtocolCName>
71 </Protocol>
72 <Protocol Usage="ALWAYS_CONSUMED">
73 <ProtocolCName>gEfiFaultTolerantWriteLiteProtocolGuid</ProtocolCName>
74 </Protocol>
75 <Protocol Usage="ALWAYS_CONSUMED">
76 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>
77 </Protocol>
78 </Protocols>
79 <Externs>
80 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
81 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
82 <Extern>
83 <ModuleEntryPoint>VariableServiceInitialize</ModuleEntryPoint>
84 </Extern>
85 <Extern>
86 <SetVirtualAddressMapCallBack>VariableClassAddressChangeEvent</SetVirtualAddressMapCallBack>
87 </Extern>
88 </Externs>
89 <PcdCoded>
90 <PcdEntry PcdItemType="DYNAMIC">
91 <C_Name>PcdFlashNvStorageVariableBase</C_Name>
92 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
93 <HelpText>The driver gets the Variable store base address from this PCD. This base address point to
94 an EFI_FIRMWARE_VOLUMN_HEADER struct.</HelpText>
95 </PcdEntry>
96 <PcdEntry PcdItemType="DYNAMIC">
97 <C_Name>PcdFlashNvStorageVariableSize</C_Name>
98 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
99 <HelpText>The driver gets the NvStorage Variable Size from this PCD.</HelpText>
100 </PcdEntry>
101 </PcdCoded>
102 </ModuleSurfaceArea>