bedabe810b0c4599203b7a101926faf26db59a9c
[mirror_edk2.git] / EdkNt32Pkg / Pei / FlashMap / FlashMap.msa
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
3 <MsaHeader>
4 <ModuleName>PeiFlashMap</ModuleName>
5 <ModuleType>PEIM</ModuleType>
6 <GuidValue>681F3771-6F1D-42DE-9AA2-F82BBCDBC5F9</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Component description file for FlashMap PEI module</Abstract>
9 <Description>This module installs FlashMap PPI which is used to get flash layout information.</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 IPF EBC</SupportedArchitectures>
21 <BinaryModule>false</BinaryModule>
22 <OutputFileBasename>PeiFlashMap</OutputFileBasename>
23 </ModuleDefinitions>
24 <LibraryClassDefinitions>
25 <LibraryClass Usage="ALWAYS_CONSUMED">
26 <Keyword>DebugLib</Keyword>
27 </LibraryClass>
28 <LibraryClass Usage="ALWAYS_CONSUMED">
29 <Keyword>PeimEntryPoint</Keyword>
30 </LibraryClass>
31 <LibraryClass Usage="ALWAYS_CONSUMED">
32 <Keyword>HobLib</Keyword>
33 </LibraryClass>
34 <LibraryClass Usage="ALWAYS_CONSUMED">
35 <Keyword>PeiServicesLib</Keyword>
36 </LibraryClass>
37 <LibraryClass Usage="ALWAYS_CONSUMED">
38 <Keyword>PeiServicesTablePointerLib</Keyword>
39 </LibraryClass>
40 <LibraryClass Usage="ALWAYS_CONSUMED">
41 <Keyword>BaseMemoryLib</Keyword>
42 </LibraryClass>
43 <LibraryClass Usage="ALWAYS_CONSUMED">
44 <Keyword>PcdLib</Keyword>
45 </LibraryClass>
46 </LibraryClassDefinitions>
47 <SourceFiles>
48 <Filename>FlashMap.c</Filename>
49 <Filename>FlashMap.dxs</Filename>
50 </SourceFiles>
51 <PackageDependencies>
52 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
53 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
54 <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>
55 </PackageDependencies>
56 <Protocols>
57 <Protocol Usage="ALWAYS_CONSUMED">
58 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>
59 </Protocol>
60 </Protocols>
61 <PPIs>
62 <Ppi Usage="ALWAYS_PRODUCED">
63 <PpiCName>gPeiFlashMapPpiGuid</PpiCName>
64 </Ppi>
65 <Ppi Usage="ALWAYS_CONSUMED">
66 <PpiCName>gNtFwhPpiGuid</PpiCName>
67 </Ppi>
68 </PPIs>
69 <Guids>
70 <GuidCNames Usage="ALWAYS_CONSUMED">
71 <GuidCName>gEfiFlashMapHobGuid</GuidCName>
72 </GuidCNames>
73 <GuidCNames Usage="ALWAYS_CONSUMED">
74 <GuidCName>gEfiFirmwareFileSystemGuid</GuidCName>
75 </GuidCNames>
76 <GuidCNames Usage="ALWAYS_CONSUMED">
77 <GuidCName>gEfiSystemNvDataHobGuid</GuidCName>
78 </GuidCNames>
79 </Guids>
80 <Externs>
81 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
82 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
83 <Extern>
84 <ModuleEntryPoint>PeimInitializeFlashMap</ModuleEntryPoint>
85 </Extern>
86 </Externs>
87 <PcdCoded>
88 <PcdEntry PcdItemType="DYNAMIC">
89 <C_Name>PcdFlashNvStorageVariableBase</C_Name>
90 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
91 <HelpText>The driver sets the NV Storage FV base address defined by this PCD.
92 This base address point to an EFI_FIRMWARE_VOLUMN_HEADER struct. Variable PEIM
93 will get the base address from this PCD. In NT emulator, this PCD is a DYNAMIC
94 type, as FD is mapped to process space by WinNT OS. On real platform, it is
95 normally a FIXED_AT_BUILD type as system memory map is fixed to BIOS.
96 </HelpText>
97 </PcdEntry>
98 <PcdEntry PcdItemType="DYNAMIC">
99 <C_Name>PcdFlashNvStorageVariableSize</C_Name>
100 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
101 <HelpText>
102 To get the NvStorage Variable size from this PCD.
103 </HelpText>
104 </PcdEntry>
105 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
106 <C_Name>PcdFlashNvStorageFtwSpareBase</C_Name>
107 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
108 <HelpText>To get base address of the FTW spare block section in NV firmware volume.</HelpText>
109 </PcdEntry>
110 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
111 <C_Name>PcdFlashNvStorageFtwSpareSize</C_Name>
112 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
113 <HelpText>To get size of the FTW spare block section in NV firmware volume.</HelpText>
114 </PcdEntry>
115 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
116 <C_Name>PcdFlashNvStorageFtwWorkingBase</C_Name>
117 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
118 <HelpText>To get base address of the FTW working block section in NV firmware volume.</HelpText>
119 </PcdEntry>
120 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
121 <C_Name>PcdFlashNvStorageFtwWorkingSize</C_Name>
122 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
123 <HelpText>To get size of the FTW working block section in NV firmware volume.</HelpText>
124 </PcdEntry>
125 </PcdCoded>
126 </ModuleSurfaceArea>