## @file
#  OVMF's instance of the PCI Host Bridge Library.
#
#  Copyright (C) 2016, Red Hat, Inc.
#  Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = PciHostBridgeLib
  FILE_GUID                      = 9F2BC05E-51EA-4AED-9A3E-7699641734E8
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = PciHostBridgeLib

#
# The following information is for reference only and not required by the build
# tools.
#
#  VALID_ARCHITECTURES           = IA32 X64 EBC
#

[Sources]
  PciHostBridgeLib.c

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

[LibraryClasses]
  BaseMemoryLib
  PcdLib
  PciHostBridgeUtilityLib

[Pcd]
  gQemuPkgTokenSpaceGuid.PcdOvmfHostBridgePciDevId
  gUefiQemuQ35PkgTokenSpaceGuid.PcdPciIoBase
  gUefiQemuQ35PkgTokenSpaceGuid.PcdPciIoSize
  gUefiQemuQ35PkgTokenSpaceGuid.PcdPciMmio32Base
  gUefiQemuQ35PkgTokenSpaceGuid.PcdPciMmio32Size
  gUefiQemuQ35PkgTokenSpaceGuid.PcdPciMmio64Base
  gUefiQemuQ35PkgTokenSpaceGuid.PcdPciMmio64Size
