]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Universal/PCD/Pei/Pcd.msa
Add in feature flag PcdPeiPcdDatabaseSetEnabled, PcdPeiPcdDatabaseGetSizeEnabled...
[mirror_edk2.git] / EdkModulePkg / 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 DXE driver implement and produce the PCD PPI.</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>PcdPeim</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>BaseLib</Keyword>
33 </LibraryClass>
34 <LibraryClass Usage="ALWAYS_CONSUMED">
35 <Keyword>HobLib</Keyword>
36 </LibraryClass>
37 <LibraryClass Usage="ALWAYS_CONSUMED">
38 <Keyword>PeiServicesLib</Keyword>
39 </LibraryClass>
40 <LibraryClass Usage="ALWAYS_CONSUMED">
41 <Keyword>PcdLib</Keyword>
42 </LibraryClass>
43 <LibraryClass Usage="ALWAYS_CONSUMED">
44 <Keyword>PeiServicesTablePointerLib</Keyword>
45 </LibraryClass>
46 <LibraryClass Usage="ALWAYS_CONSUMED">
47 <Keyword>MemoryAllocationLib</Keyword>
48 </LibraryClass>
49 <LibraryClass Usage="ALWAYS_CONSUMED">
50 <Keyword>BaseMemoryLib</Keyword>
51 </LibraryClass>
52 </LibraryClassDefinitions>
53 <SourceFiles>
54 <Filename>Pcd.dxs</Filename>
55 <Filename>Pcd.c</Filename>
56 <Filename>Service.h</Filename>
57 <Filename>Service.c</Filename>
58 </SourceFiles>
59 <PackageDependencies>
60 <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
61 <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>
62 </PackageDependencies>
63 <PPIs>
64 <Ppi Usage="ALWAYS_PRODUCED">
65 <PpiCName>gPcdPpiGuid</PpiCName>
66 </Ppi>
67 <Ppi Usage="ALWAYS_CONSUMED">
68 <PpiCName>gEfiPeiReadOnlyVariablePpiGuid</PpiCName>
69 </Ppi>
70 </PPIs>
71 <Guids>
72 <GuidCNames Usage="ALWAYS_CONSUMED">
73 <GuidCName>gPcdDataBaseHobGuid</GuidCName>
74 </GuidCNames>
75 <GuidCNames Usage="ALWAYS_CONSUMED">
76 <GuidCName>gPcdPeiCallbackFnTableHobGuid</GuidCName>
77 </GuidCNames>
78 </Guids>
79 <Externs>
80 <PcdIsDriver>PEI_PCD_DRIVER</PcdIsDriver>
81 <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
82 <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
83 <Extern>
84 <ModuleEntryPoint>PcdPeimInit</ModuleEntryPoint>
85 </Extern>
86 </Externs>
87 <PcdCoded>
88 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
89 <C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
90 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
91 <HelpText>The maximum number of callback function, which will be triggered when
92 a PCD entry is been set, can be registered for a single PCD entry in PEI phase.</HelpText>
93 </PcdEntry>
94 <PcdEntry PcdItemType="FIXED_AT_BUILD" Usage="ALWAYS_CONSUMED">
95 <C_Name>PcdVpdBaseAddress</C_Name>
96 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
97 <HelpText>The base address of the VPD (Vital Product Data) region. It is
98 normally a region reserved on flash.</HelpText>
99 </PcdEntry>
100 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
101 <C_Name>PcdPeiPcdDatabaseTraverseEnabled</C_Name>
102 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
103 <HelpText>This feature flag can be used to enable or disable the Pcd PEIM database
104 traverse capability. Disable it can reduce the size of final image generated.</HelpText>
105 </PcdEntry>
106 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
107 <C_Name>PcdPeiPcdDatabaseCallbackOnSetEnabled</C_Name>
108 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
109 <DefaultValue>FALSE</DefaultValue>
110 <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>
111 </PcdEntry>
112 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
113 <C_Name>PcdPeiPcdDatabaseExEnabled</C_Name>
114 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
115 <DefaultValue>FALSE</DefaultValue>
116 <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>
117 </PcdEntry>
118 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
119 <C_Name>PcdPeiPcdDatabaseGetSizeEnabled</C_Name>
120 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
121 <DefaultValue>FALSE</DefaultValue>
122 <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>
123 </PcdEntry>
124 <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
125 <C_Name>PcdPeiPcdDatabaseSetEnabled</C_Name>
126 <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
127 <DefaultValue>FALSE</DefaultValue>
128 <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>
129 </PcdEntry>
130 </PcdCoded>
131 </ModuleSurfaceArea>