3505b5eef3680b7363be44fd0360153eaec27cc1
[mirror_edk2.git] / EdkModulePkg / Universal / FirmwareVolume / FaultTolerantWriteLite / Dxe / FtwLite.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--Copyright (c) 2006, Intel Corporation
3 All rights reserved. This program and the accompanying materials
4 are licensed and made available under the terms and conditions of the BSD License
5 which accompanies this distribution. The full text of the license may be found at
6 http://opensource.org/licenses/bsd-license.php
7
8 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
9 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
10 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
11 <MsaHeader>
12 <ModuleName>FtwLite</ModuleName>
13 <ModuleType>DXE_DRIVER</ModuleType>
14 <GuidValue>4C862FC6-0E54-4e36-8C8F-FF6F3167951F</GuidValue>
15 <Version>1.0</Version>
16 <Abstract>Component description file for FtwLite module.</Abstract>
17 <Description>This driver provides fault tolerant write capability for block devices.</Description>
18 <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>
19 <License>All rights reserved. This program and the accompanying materials
20 are licensed and made available under the terms and conditions of the BSD License
21 which accompanies this distribution. The full text of the license may be found at
22 http://opensource.org/licenses/bsd-license.php
23 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
24 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
25 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
26 </MsaHeader>
27 <ModuleDefinitions>
28 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
29 <BinaryModule>false</BinaryModule>
30 <OutputFileBasename>FtwLite</OutputFileBasename>
31 </ModuleDefinitions>
32 <LibraryClassDefinitions>
33 <LibraryClass Usage="ALWAYS_CONSUMED">
34 <Keyword>PcdLib</Keyword>
35 </LibraryClass>
36 <LibraryClass Usage="ALWAYS_CONSUMED">
37 <Keyword>DebugLib</Keyword>
38 </LibraryClass>
39 <LibraryClass Usage="ALWAYS_CONSUMED">
40 <Keyword>UefiDriverEntryPoint</Keyword>
41 </LibraryClass>
42 <LibraryClass Usage="ALWAYS_CONSUMED">
43 <Keyword>UefiLib</Keyword>
44 </LibraryClass>
45 <LibraryClass Usage="ALWAYS_CONSUMED">
46 <Keyword>BaseLib</Keyword>
47 </LibraryClass>
48 <LibraryClass Usage="ALWAYS_CONSUMED">
49 <Keyword>HobLib</Keyword>
50 </LibraryClass>
51 <LibraryClass Usage="ALWAYS_CONSUMED">
52 <Keyword>BaseMemoryLib</Keyword>
53 </LibraryClass>
54 <LibraryClass Usage="ALWAYS_CONSUMED">
55 <Keyword>MemoryAllocationLib</Keyword>
56 </LibraryClass>
57 <LibraryClass Usage="ALWAYS_CONSUMED">
58 <Keyword>UefiBootServicesTableLib</Keyword>
59 </LibraryClass>
60 </LibraryClassDefinitions>
61 <SourceFiles>
62 <Filename>FtwLite.h</Filename>
63 <Filename>FtwLite.c</Filename>
64 <Filename>FtwMisc.c</Filename>
65 <Filename>FtwWorkSpace.c</Filename>
66 <Filename>FtwLite.dxs</Filename>
67 <Filename SupArchList="IA32">Ia32/Ia32FtwMisc.c</Filename>
68 <Filename SupArchList="X64">x64/x64FtwMisc.c</Filename>
69 <Filename SupArchList="IPF">Ipf/IpfFtwMisc.c</Filename>
70 <Filename SupArchList="EBC">Ia32/Ia32FtwMisc.c</Filename>
71 </SourceFiles>
72 <PackageDependencies>
73 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
74 <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>
75 </PackageDependencies>
76 <Protocols>
77 <Protocol Usage="ALWAYS_PRODUCED">
78 <ProtocolCName>gEfiFaultTolerantWriteLiteProtocolGuid</ProtocolCName>
79 </Protocol>
80 <Protocol Usage="SOMETIMES_CONSUMED">
81 <ProtocolCName>gEfiPciRootBridgeIoProtocolGuid</ProtocolCName>
82 </Protocol>
83 <Protocol Usage="ALWAYS_CONSUMED">
84 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>
85 </Protocol>
86 </Protocols>
87 <Guids>
88 <GuidCNames Usage="ALWAYS_CONSUMED">
89 <GuidCName>gEfiFlashMapHobGuid</GuidCName>
90 </GuidCNames>
91 <GuidCNames Usage="ALWAYS_CONSUMED">
92 <GuidCName>gEfiSystemNvDataFvGuid</GuidCName>
93 </GuidCNames>
94 </Guids>
95 <Externs>
96 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
97 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
98 <Extern>
99 <ModuleEntryPoint>InitializeFtwLite</ModuleEntryPoint>
100 </Extern>
101 </Externs>
102 <PcdCoded>
103 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
104 <C_Name>PcdFlashNvStorageFtwSpareBase</C_Name>
105 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
106 <HelpText>To get base address of the FTW spare block section in NV firmware volume.</HelpText>
107 </PcdEntry>
108 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
109 <C_Name>PcdFlashNvStorageFtwSpareSize</C_Name>
110 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
111 <HelpText>To get size of the FTW spare block section in NV firmware volume.</HelpText>
112 </PcdEntry>
113 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
114 <C_Name>PcdFlashNvStorageFtwWorkingBase</C_Name>
115 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
116 <HelpText>To get base address of the FTW working block section in NV firmware volume.</HelpText>
117 </PcdEntry>
118 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
119 <C_Name>PcdFlashNvStorageFtwWorkingSize</C_Name>
120 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
121 <HelpText>To get size of the FTW working block section in NV firmware volume.</HelpText>
122 </PcdEntry>
123 </PcdCoded>
124 </ModuleSurfaceArea>