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