summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-01-26 00:36:46 +0100
committerLaszlo Ersek <lersek@redhat.com>2016-03-03 18:18:39 +0100
commit390951c2b803535e7fe8ecbba3fc1ff6bdaa3da5 (patch)
tree16faa1dacb60853303bab92483413d85fcca7796 /OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
parent0dcd1b1b2a8e3c2548ab552b9b3ba2d9f25d515f (diff)
downloadedk2-390951c2b803535e7fe8ecbba3fc1ff6bdaa3da5.tar.gz
edk2-390951c2b803535e7fe8ecbba3fc1ff6bdaa3da5.tar.bz2
edk2-390951c2b803535e7fe8ecbba3fc1ff6bdaa3da5.zip
OvmfPkg: PciHostBridgeLib: set bus, IO and 32-bit MMIO windows in RootBus
The bus aperture is copied verbatim from InitRootBridge() [OvmfPkg/PciHostBridgeDxe/PciHostBridge.c]. The IO and 32-bit MMIO apertures are matched to PlatformPei's settings. PciHostBridgeLibDxe expects PciHostBridgeLib instances to advertize the exact apertures. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Marcel Apfelbaum <marcel@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf')
-rw-r--r--OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf6
1 files changed, 6 insertions, 0 deletions
diff --git a/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf b/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
index 096d728f3c..e95ebfdc93 100644
--- a/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
+++ b/OvmfPkg/Library/PciHostBridgeLib/PciHostBridgeLib.inf
@@ -44,3 +44,9 @@
MemoryAllocationLib
PciLib
QemuFwCfgLib
+
+[Pcd]
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciIoBase
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciIoSize
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Base
+ gUefiOvmfPkgTokenSpaceGuid.PcdPciMmio32Size