<?xml version="1.0" encoding="UTF-8"?>
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <MsaHeader>
    <ModuleName>PciBus</ModuleName>
    <ModuleType>DXE_DRIVER</ModuleType>
    <GuidValue>93B80004-9FB3-11d4-9A3A-0090273FC14D</GuidValue>
    <Version>1.0</Version>
    <Abstract>Component description file for PciBus module.</Abstract>
    <Description>PCI bus driver. This module will probe all PCI devices and allocate MMIO and IO
       space for these devices. Please use PCD feature flag PcdPciBusHotplugDeviceSupport to enable
       support hot plug.</Description>
    <Copyright>Copyright (c) 2006 - 2007, 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>PciBus</OutputFileBasename>
  </ModuleDefinitions>
  <LibraryClassDefinitions>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>DebugLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiDriverModelLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiDriverEntryPoint</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>BaseLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>BaseMemoryLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>ReportStatusCodeLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>MemoryAllocationLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>UefiBootServicesTableLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>DevicePathLib</Keyword>
    </LibraryClass>
    <LibraryClass Usage="ALWAYS_CONSUMED">
      <Keyword>PcdLib</Keyword>
    </LibraryClass>
  </LibraryClassDefinitions>
  <SourceFiles>
    <Filename>pcibus.h</Filename>
    <Filename>PciIo.h</Filename>
    <Filename>PciCommand.h</Filename>
    <Filename>PciDeviceSupport.h</Filename>
    <Filename>PciResourceSupport.h</Filename>
    <Filename>PciEnumerator.h</Filename>
    <Filename>PciEnumeratorSupport.h</Filename>
    <Filename>PciOptionRomSupport.h</Filename>
    <Filename>PciRomTable.h</Filename>
    <Filename>PciHotPlugSupport.h</Filename>
    <Filename>PciLib.h</Filename>
    <Filename>PciHotPlugSupport.c</Filename>
    <Filename>PciRomTable.c</Filename>
    <Filename>PciDriverOverride.h</Filename>
    <Filename>PciPowerManagement.h</Filename>
    <Filename>PciPowerManagement.c</Filename>
    <Filename>PciDriverOverride.c</Filename>
    <Filename>PciOptionRomSupport.c</Filename>
    <Filename>PciEnumerator.c</Filename>
    <Filename>PciEnumeratorSupport.c</Filename>
    <Filename>PciResourceSupport.c</Filename>
    <Filename>PciCommand.c</Filename>
    <Filename>ComponentName.h</Filename>
    <Filename>ComponentName.c</Filename>
    <Filename>PciDeviceSupport.c</Filename>
    <Filename>pcibus.c</Filename>
    <Filename>PciIo.c</Filename>
    <Filename>PciLib.c</Filename>
  </SourceFiles>
  <PackageDependencies>
    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
    <Package PackageGuid="68169ab0-d41b-4009-9060-292c253ac43d"/>
  </PackageDependencies>
  <Protocols>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiDevicePathProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiPciRootBridgeIoProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiPciPlatformProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiIncompatiblePciDeviceSupportProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiPciHostBridgeResourceAllocationProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiPciHotPlugInitProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiDecompressProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiLoadedImageProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="TO_START">
      <ProtocolCName>gEfiUgaIoProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="BY_START">
      <ProtocolCName>gEfiPciIoProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="BY_START">
      <ProtocolCName>gEfiBusSpecificDriverOverrideProtocolGuid</ProtocolCName>
    </Protocol>
    <Protocol Usage="ALWAYS_PRODUCED">
      <ProtocolCName>gEfiPciHotPlugRequestProtocolGuid</ProtocolCName>
    </Protocol>
  </Protocols>
  <SystemTables>
    <SystemTableCNames Usage="ALWAYS_CONSUMED">
      <SystemTableCName>gEfiUgaIoProtocolGuid</SystemTableCName>
    </SystemTableCNames>
    <SystemTableCNames Usage="SOMETIMES_CONSUMED">
      <SystemTableCName>gEfiPciOptionRomTableGuid</SystemTableCName>
    </SystemTableCNames>
  </SystemTables>
  <Guids>
    <GuidCNames Usage="SOMETIMES_CONSUMED">
      <GuidCName>gEfiPciOptionRomTableGuid</GuidCName>
    </GuidCNames>
    <GuidCNames Usage="PRIVATE">
      <GuidCName>gEfiPciHotplugDeviceGuid</GuidCName>
    </GuidCNames>
  </Guids>
  <Externs>
    <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
    <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
    <Extern>
      <ModuleEntryPoint>PciBusEntryPoint</ModuleEntryPoint>
    </Extern>
    <Extern>
      <DriverBinding>gPciBusDriverBinding</DriverBinding>
      <ComponentName>gPciBusComponentName</ComponentName>
    </Extern>
  </Externs>
  <PcdCoded>
    <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
      <C_Name>PcdPciIsaEnable</C_Name>
      <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
      <HelpText>Whether ISA decoding is enabled on this platform so we should avoid those aliased resources</HelpText>
    </PcdEntry>
    <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
      <C_Name>PcdPciVgaEnable</C_Name>
      <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
      <HelpText>Whether VGA decoding is enabled on this platform so we should avoid those aliased resources</HelpText>
    </PcdEntry>
    <PcdEntry PcdItemType="FEATURE_FLAG" Usage="ALWAYS_CONSUMED">
      <C_Name>PcdPciBusHotplugDeviceSupport</C_Name>
      <TokenSpaceGuidCName>gEfiGenericPlatformTokenSpaceGuid</TokenSpaceGuidCName>
      <DefaultValue>TRUE</DefaultValue>
      <HelpText>If TRUE, the PCI bus driver will support hot plug device. If not hot plug device is supported, this feature flag can be set to FALSE to save size.</HelpText>
    </PcdEntry>
  </PcdCoded>
</ModuleSurfaceArea>
