## @file
#  An instance of the PCI Library that is based on both the PCI CF8 Library and
#  the PCI Express Library.
#
#  This PciLib instance caches the OVMF platform type (I440FX vs. Q35) in
#  its entry point function, then delegates function calls to one of the
#  PciCf8Lib or PciExpressLib "backends" as appropriate.
#
#  Copyright (C) 2016, Red Hat, Inc.
#
#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = DxePciLibI440FxQ35
  FILE_GUID                      = 5360bff6-3911-4495-ae3c-b02ff004b585
  MODULE_TYPE                    = BASE
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = PciLib|DXE_DRIVER DXE_RUNTIME_DRIVER SMM_CORE DXE_SMM_DRIVER UEFI_DRIVER UEFI_APPLICATION MM_STANDALONE
  CONSTRUCTOR                    = InitializeConfigAccessMethod

#  VALID_ARCHITECTURES           = IA32 X64

[Sources]
  PciLib.c

[Packages]
  MdePkg/MdePkg.dec
  QemuPkg/QemuPkg.dec
  QemuQ35Pkg/QemuQ35Pkg.dec

[LibraryClasses]
  PcdLib
  PciCf8Lib
  PciExpressLib

[Pcd]
  gQemuPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
