add a error macro to prevent this file from included for now #error "UEFI 2.1 HII...
[mirror_edk2.git] / EdkNt32Pkg / Pei / FlashMap / FlashMap.msa
CommitLineData
202c5d55 1<?xml version="1.0" encoding="UTF-8"?>\r
7f0ceb22 2<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
878ddf1f 3 <MsaHeader>\r
2d527200 4 <ModuleName>PeiFlashMap</ModuleName>\r
878ddf1f 5 <ModuleType>PEIM</ModuleType>\r
2d527200 6 <GuidValue>681F3771-6F1D-42DE-9AA2-F82BBCDBC5F9</GuidValue>\r
7 <Version>1.0</Version>\r
878ddf1f 8 <Abstract>Component description file for FlashMap PEI module</Abstract>\r
31150ca0 9 <Description>This module installs FlashMap PPI which is used to get flash layout information.</Description>\r
7f0ceb22 10 <Copyright>Copyright (c) 2006 - 2007, Intel Corporation</Copyright>\r
dd70a8c4 11 <License>All rights reserved. This program and the accompanying materials\r
12 are licensed and made available under the terms and conditions of the BSD License\r
13 which accompanies this distribution. The full text of the license may be found at\r
14 http://opensource.org/licenses/bsd-license.php\r
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
2d527200 16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>\r
17 <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>\r
878ddf1f 18 </MsaHeader>\r
2d527200 19 <ModuleDefinitions>\r
20 <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>\r
21 <BinaryModule>false</BinaryModule>\r
22 <OutputFileBasename>PeiFlashMap</OutputFileBasename>\r
23 </ModuleDefinitions>\r
878ddf1f 24 <LibraryClassDefinitions>\r
2d527200 25 <LibraryClass Usage="ALWAYS_CONSUMED">\r
26 <Keyword>DebugLib</Keyword>\r
27 </LibraryClass>\r
28 <LibraryClass Usage="ALWAYS_CONSUMED">\r
29 <Keyword>PeimEntryPoint</Keyword>\r
30 </LibraryClass>\r
31 <LibraryClass Usage="ALWAYS_CONSUMED">\r
32 <Keyword>HobLib</Keyword>\r
33 </LibraryClass>\r
34 <LibraryClass Usage="ALWAYS_CONSUMED">\r
35 <Keyword>PeiServicesLib</Keyword>\r
36 </LibraryClass>\r
2d527200 37 <LibraryClass Usage="ALWAYS_CONSUMED">\r
38 <Keyword>BaseMemoryLib</Keyword>\r
39 </LibraryClass>\r
dd70a8c4 40 <LibraryClass Usage="ALWAYS_CONSUMED">\r
41 <Keyword>PcdLib</Keyword>\r
42 </LibraryClass>\r
878ddf1f 43 </LibraryClassDefinitions>\r
44 <SourceFiles>\r
45 <Filename>FlashMap.c</Filename>\r
46 <Filename>FlashMap.dxs</Filename>\r
47 </SourceFiles>\r
2d527200 48 <PackageDependencies>\r
49 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
0992e559 50 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>\r
2d527200 51 <Package PackageGuid="0fb2aa2d-10d5-40a5-a9dc-060c12a4a3f3"/>\r
52 </PackageDependencies>\r
878ddf1f 53 <Protocols>\r
2d527200 54 <Protocol Usage="ALWAYS_CONSUMED">\r
53b86193 55 <ProtocolCName>gEfiFirmwareVolumeBlockProtocolGuid</ProtocolCName>\r
2d527200 56 </Protocol>\r
878ddf1f 57 </Protocols>\r
2074c9cf 58 <Hobs>\r
59 <HobTypes HobGuidCName="gEfiFlashMapHobGuid" Usage="ALWAYS_CONSUMED">\r
60 <HobType>GUID_EXTENSION</HobType>\r
61 </HobTypes>\r
62 </Hobs>\r
878ddf1f 63 <PPIs>\r
2d527200 64 <Ppi Usage="ALWAYS_PRODUCED">\r
53b86193 65 <PpiCName>gPeiFlashMapPpiGuid</PpiCName>\r
2d527200 66 </Ppi>\r
67 <Ppi Usage="ALWAYS_CONSUMED">\r
53b86193 68 <PpiCName>gNtFwhPpiGuid</PpiCName>\r
2d527200 69 </Ppi>\r
878ddf1f 70 </PPIs>\r
71 <Guids>\r
2d527200 72 <GuidCNames Usage="ALWAYS_CONSUMED">\r
53b86193 73 <GuidCName>gEfiFirmwareFileSystemGuid</GuidCName>\r
2d527200 74 </GuidCNames>\r
878ddf1f 75 </Guids>\r
76 <Externs>\r
15b06e58
LG
77 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
78 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
878ddf1f 79 <Extern>\r
80 <ModuleEntryPoint>PeimInitializeFlashMap</ModuleEntryPoint>\r
81 </Extern>\r
82 </Externs>\r
dd70a8c4 83 <PcdCoded>\r
84 <PcdEntry PcdItemType="DYNAMIC">\r
85 <C_Name>PcdFlashNvStorageVariableBase</C_Name>\r
86 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
2074c9cf 87 <HelpText>The driver sets the NV Storage FV base address defined by this PCD.\r
dd70a8c4 88 This base address point to an EFI_FIRMWARE_VOLUMN_HEADER struct. Variable PEIM\r
89 will get the base address from this PCD. In NT emulator, this PCD is a DYNAMIC\r
2074c9cf 90 type, as FD is mapped to process space by WinNT OS. On real platform, it is\r
7f0ceb22 91 normally a FIXED_AT_BUILD type as system memory map is fixed to BIOS.</HelpText>\r
dd70a8c4 92 </PcdEntry>\r
42ef7fcd
LG
93 <PcdEntry PcdItemType="DYNAMIC">\r
94 <C_Name>PcdFlashNvStorageVariableSize</C_Name>\r
95 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
7f0ceb22 96 <HelpText>To get the NvStorage Variable size from this PCD.</HelpText>\r
42ef7fcd
LG
97 </PcdEntry>\r
98 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">\r
202c5d55 99 <C_Name>PcdFlashNvStorageFtwSpareBase</C_Name>\r
100 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
101 <HelpText>To get base address of the FTW spare block section in NV firmware volume.</HelpText>\r
102 </PcdEntry>\r
42ef7fcd 103 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">\r
202c5d55 104 <C_Name>PcdFlashNvStorageFtwSpareSize</C_Name>\r
105 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
106 <HelpText>To get size of the FTW spare block section in NV firmware volume.</HelpText>\r
107 </PcdEntry>\r
42ef7fcd 108 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">\r
202c5d55 109 <C_Name>PcdFlashNvStorageFtwWorkingBase</C_Name>\r
110 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
111 <HelpText>To get base address of the FTW working block section in NV firmware volume.</HelpText>\r
112 </PcdEntry>\r
42ef7fcd 113 <PcdEntry PcdItemType="DYNAMIC" Usage="ALWAYS_CONSUMED">\r
202c5d55 114 <C_Name>PcdFlashNvStorageFtwWorkingSize</C_Name>\r
115 <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>\r
116 <HelpText>To get size of the FTW working block section in NV firmware volume.</HelpText>\r
42ef7fcd 117 </PcdEntry>\r
dd70a8c4 118 </PcdCoded>\r
119</ModuleSurfaceArea>\r