Import PCD dxe and PCD pei modules.
[mirror_edk2.git] / MdeModulePkg / Universal / PCD / Pei / Pcd.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>PcdPeim</ModuleName>
5 <ModuleType>PEIM</ModuleType>
6 <GuidValue>9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50</GuidValue>
7 <Version>1.0</Version>
8 <Abstract>Component description file for Pcd Database PEIM module</Abstract>
9 <Description>This PEIM driver implement and produce PCD PPI.</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>PcdPeim</OutputFileBasename>
23 </ModuleDefinitions>
24 <LibraryClassDefinitions>
25 <LibraryClass Usage="ALWAYS_CONSUMED" RecommendedInstanceGuid="bda39d3a-451b-4350-8266-81ab10fa0523">
26 <Keyword>DebugLib</Keyword>
27 <HelpText>Recommended libary Instance is PeiDxeDebugLibReportStatusCode instance in MdePkg.</HelpText>
28 </LibraryClass>
29 <LibraryClass Usage="ALWAYS_CONSUMED">
30 <Keyword>PeimEntryPoint</Keyword>
31 </LibraryClass>
32 <LibraryClass Usage="ALWAYS_CONSUMED">
33 <Keyword>BaseLib</Keyword>
34 </LibraryClass>
35 <LibraryClass Usage="ALWAYS_CONSUMED">
36 <Keyword>HobLib</Keyword>
37 </LibraryClass>
38 <LibraryClass Usage="ALWAYS_CONSUMED">
39 <Keyword>PeiServicesLib</Keyword>
40 </LibraryClass>
41 <LibraryClass Usage="ALWAYS_CONSUMED">
42 <Keyword>PcdLib</Keyword>
43 </LibraryClass>
44 <LibraryClass Usage="ALWAYS_CONSUMED">
45 <Keyword>PeiServicesTablePointerLib</Keyword>
46 </LibraryClass>
47 <LibraryClass Usage="ALWAYS_CONSUMED">
48 <Keyword>BaseMemoryLib</Keyword>
49 </LibraryClass>
50 </LibraryClassDefinitions>
51 <SourceFiles>
52 <Filename>Pcd.dxs</Filename>
53 <Filename>Pcd.c</Filename>
54 <Filename>Service.h</Filename>
55 <Filename>Service.c</Filename>
56 </SourceFiles>
57 <PackageDependencies>
58 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
59 <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
60 </PackageDependencies>
61 <Hobs>
62 <HobTypes Usage="ALWAYS_PRODUCED" HobGuidCName="gPcdDataBaseHobGuid">
63 <HobType>GUID_EXTENSION</HobType>
64 </HobTypes>
65 <HobTypes Usage="ALWAYS_PRODUCED" HobGuidCName="gPcdPeiCallbackFnTableHobGuid">
66 <HobType>GUID_EXTENSION</HobType>
67 </HobTypes>
68 </Hobs>
69 <PPIs>
70 <Ppi Usage="ALWAYS_PRODUCED">
71 <PpiCName>gPcdPpiGuid</PpiCName>
72 </Ppi>
73 <Ppi Usage="ALWAYS_CONSUMED">
74 <PpiCName>gEfiPeiReadOnlyVariablePpiGuid</PpiCName>
75 </Ppi>
76 </PPIs>
77 <Externs>
78 <PcdIsDriver>PEI_PCD_DRIVER</PcdIsDriver>
79 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
80 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
81 <Extern>
82 <ModuleEntryPoint>PcdPeimInit</ModuleEntryPoint>
83 </Extern>
84 </Externs>
85 <PcdCoded>
86 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
87 <C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
88 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
89 <HelpText>The maximum number of callback function, which will be triggered when
90 a PCD entry is been set, can be registered for a single PCD entry in PEI phase.</HelpText>
91 </PcdEntry>
92 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
93 <C_Name>PcdVpdBaseAddress</C_Name>
94 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
95 <HelpText>The base address of the VPD (Vital Product Data) region. It is
96 normally a region reserved on flash.</HelpText>
97 </PcdEntry>
98 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
99 <C_Name>PcdPeiPcdDatabaseTraverseEnabled</C_Name>
100 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
101 <HelpText>This feature flag can be used to enable or disable the Pcd PEIM database
102 traverse capability. Disable it can reduce the size of final image generated.</HelpText>
103 </PcdEntry>
104 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
105 <C_Name>PcdPeiPcdDatabaseCallbackOnSetEnabled</C_Name>
106 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
107 <DefaultValue>FALSE</DefaultValue>
108 <HelpText>This feature flag can be used to enable or disable the Callback On SET capability of PCD service PEIM. If a platform does not register any callback on set in PEI phase. This flag can be set to DISABLE to save size.</HelpText>
109 </PcdEntry>
110 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
111 <C_Name>PcdPeiPcdDatabaseExEnabled</C_Name>
112 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
113 <DefaultValue>FALSE</DefaultValue>
114 <HelpText>This feature flag can be used to enable or disable the PCD service PEIM to handle DynamicEX PCD. If a platform has no module to use DynamicEX in PEI phase. This flag can be set to DISABLE to save size.</HelpText>
115 </PcdEntry>
116 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
117 <C_Name>PcdPeiPcdDatabaseGetSizeEnabled</C_Name>
118 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
119 <DefaultValue>FALSE</DefaultValue>
120 <HelpText>This feature flag can be used to enable or disable the GET size capability of PCD service PEIM. If a platform does not do PCD get size operation in PEI phase. This flag can be set to DISABLE to save size.</HelpText>
121 </PcdEntry>
122 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
123 <C_Name>PcdPeiPcdDatabaseSetEnabled</C_Name>
124 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
125 <DefaultValue>FALSE</DefaultValue>
126 <HelpText>This feature flag can be used to enable or disable the SET capability of PCD service PEIM. If a platform does not do PCD SET operation in PEI phase. This flag can be set to DISABLE to save size.</HelpText>
127 </PcdEntry>
128 </PcdCoded>
129 </ModuleSurfaceArea>