<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.-->
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
  <MsaHeader>
    <ModuleName>PcdPeim</ModuleName>
    <ModuleType>PEIM</ModuleType>
    <GuidValue>9B3ADA4F-AE56-4c24-8DEA-F03B7558AE50</GuidValue>
    <Version>1.0</Version>
    <Abstract>Component description file for Pcd Database PEIM module</Abstract>
    <Description>This DXE driver implement and produce the PCD PPI.</Description>
    <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>
    <License>All rights reserved. This program and the accompanying materials
      are licensed and made available under the terms and conditions of the BSD License
      which accompanies this distribution.  The full text of the license may be found at
      http://opensource.org/licenses/bsd-license.php
      THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
      WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
    <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION   0x00000052</Specification>
  </MsaHeader>
  <ModuleDefinitions>
    <SupportedArchitectures>IA32 X64 IPF EBC</SupportedArchitectures>
    <BinaryModule>false</BinaryModule>
    <OutputFileBasename>PcdPeim</OutputFileBasename>
  </ModuleDefinitions>
  <LibraryClassDefinitions>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>DebugLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>PeimEntryPoint</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>BaseLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>HobLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>PeiServicesLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>PcdLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>PeiServicesTablePointerLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>MemoryAllocationLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>BaseMemoryLib</Keyword>
    </LibraryClass>
  </LibraryClassDefinitions>
  <SourceFiles>
    <Filename>Pcd.dxs</Filename>
    <Filename>Pcd.c</Filename>
    <Filename>Service.h</Filename>
    <Filename>Service.c</Filename>
  </SourceFiles>
  <PackageDependencies>
    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
    <Package PackageGuid="B6EC423C-21D2-490D-85C6-DD5864EAA674"/>
  </PackageDependencies>
  <PPIs>
    <Ppi Usage="ALWAYS_PRODUCED">
      <PpiCName>gPcdPpiGuid</PpiCName>
    </Ppi>
    <Ppi Usage="ALWAYS_CONSUMED">
      <PpiCName>gEfiPeiReadOnlyVariablePpiGuid</PpiCName>
    </Ppi>
  </PPIs>
  <Guids>
    <GuidCNames Usage="ALWAYS_CONSUMED">
      <GuidCName>gPcdDataBaseHobGuid</GuidCName>
    </GuidCNames>
    <GuidCNames Usage="ALWAYS_CONSUMED">
      <GuidCName>gPcdPeiCallbackFnTableHobGuid</GuidCName>
    </GuidCNames>
  </Guids>
  <Externs>
    <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
    <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
    <Extern>
      <ModuleEntryPoint>PcdPeimInit</ModuleEntryPoint>
    </Extern>
  </Externs>
  <PcdCoded>
    <PcdEntry PcdItemType="FIXED_AT_BUILD">
      <C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
      <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
      <HelpText>The maximum number of callback function, which will be triggered when 
        a PCD entry is been set, can be registered for a single PCD entry in PEI phase.</HelpText>
    </PcdEntry>
    <PcdEntry PcdItemType="FIXED_AT_BUILD">
      <C_Name>PcdVpdBaseAddress</C_Name>
      <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
      <HelpText>The base address of the VPD (Vital Product Data) region. It is 
        normally a region reserved on flash.</HelpText>
    </PcdEntry>
    <PcdEntry PcdItemType="FEATURE_FLAG">
      <C_Name>PcdPeiPcdDatabaseTraverseEnabled</C_Name>
      <TokenSpaceGuidCName>gEfiEdkModulePkgTokenSpaceGuid</TokenSpaceGuidCName>
      <HelpText>This feature flag can be used to enable or disable the Pcd PEIM database 
        traverse capability. Disable it can reduce the size of final image generated.</HelpText>
    </PcdEntry>
  </PcdCoded>
</ModuleSurfaceArea>
