]> git.proxmox.com Git - mirror_edk2.git/blob - EdkNt32Pkg/Pei/FlashMap/FlashMap.msa
Complete the library instances in IntelFrameworkModulePkg
[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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
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 - 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 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>BaseMemoryLib</Keyword>
39 </LibraryClass>
40 <LibraryClass Usage="ALWAYS_CONSUMED">
41 <Keyword>PcdLib</Keyword>
42 </LibraryClass>
43 </LibraryClassDefinitions>
44 <SourceFiles>
45 <Filename>FlashMap.c</Filename>
46 <Filename>FlashMap.dxs</Filename>
47 </SourceFiles>
48 <PackageDependencies>
49 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
50 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
51 <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>
52 </PackageDependencies>
53 <Protocols>
54 <Protocol Usage="ALWAYS_CONSUMED">
55 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>
56 </Protocol>
57 </Protocols>
58 <Hobs>
59 <HobTypes HobGuidCName="gEfiFlashMapHobGuid" Usage="ALWAYS_CONSUMED">
60 <HobType>GUID_EXTENSION</HobType>
61 </HobTypes>
62 </Hobs>
63 <PPIs>
64 <Ppi Usage="ALWAYS_PRODUCED">
65 <PpiCName>gPeiFlashMapPpiGuid</PpiCName>
66 </Ppi>
67 <Ppi Usage="ALWAYS_CONSUMED">
68 <PpiCName>gNtFwhPpiGuid</PpiCName>
69 </Ppi>
70 </PPIs>
71 <Guids>
72 <GuidCNames Usage="ALWAYS_CONSUMED">
73 <GuidCName>gEfiFirmwareFileSystemGuid</GuidCName>
74 </GuidCNames>
75 </Guids>
76 <Externs>
77 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
78 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
79 <Extern>
80 <ModuleEntryPoint>PeimInitializeFlashMap</ModuleEntryPoint>
81 </Extern>
82 </Externs>
83 <PcdCoded>
84 <PcdEntry PcdItemType="DYNAMIC">
85 <C_Name>PcdFlashNvStorageVariableBase</C_Name>
86 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
87 <HelpText>The driver sets the NV Storage FV base address defined by this PCD.
88 This base address point to an EFI_FIRMWARE_VOLUMN_HEADER struct. Variable PEIM
89 will get the base address from this PCD. In NT emulator, this PCD is a DYNAMIC
90 type, as FD is mapped to process space by WinNT OS. On real platform, it is
91 normally a FIXED_AT_BUILD type as system memory map is fixed to BIOS.</HelpText>
92 </PcdEntry>
93 <PcdEntry PcdItemType="DYNAMIC">
94 <C_Name>PcdFlashNvStorageVariableSize</C_Name>
95 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
96 <HelpText>To get the NvStorage Variable size from this PCD.</HelpText>
97 </PcdEntry>
98 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
99 <C_Name>PcdFlashNvStorageFtwSpareBase</C_Name>
100 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
101 <HelpText>To get base address of the FTW spare block section in NV firmware volume.</HelpText>
102 </PcdEntry>
103 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
104 <C_Name>PcdFlashNvStorageFtwSpareSize</C_Name>
105 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
106 <HelpText>To get size of the FTW spare block section in NV firmware volume.</HelpText>
107 </PcdEntry>
108 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
109 <C_Name>PcdFlashNvStorageFtwWorkingBase</C_Name>
110 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
111 <HelpText>To get base address of the FTW working block section in NV firmware volume.</HelpText>
112 </PcdEntry>
113 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">
114 <C_Name>PcdFlashNvStorageFtwWorkingSize</C_Name>
115 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
116 <HelpText>To get size of the FTW working block section in NV firmware volume.</HelpText>
117 </PcdEntry>
118 </PcdCoded>
119 </ModuleSurfaceArea>