audk/OvmfPkg/PciHostBridgeDxe
Laszlo Ersek 68306ac2f2 OvmfPkg: PciHostBridgeDxe: shorten search for extra root buses
QEMU provides an fw_cfg file called "etc/extra-pci-roots", containing a
little-endian UINT64 value that exposes the number of extra root buses. We
can use this value to terminate the scan as soon as we find the last extra
root bus.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Gabriel Somlo <somlo@cmu.edu>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17963 6f19259b-4bc3-4df7-8a09-765794883524
2015-07-14 12:02:34 +00:00
..
Ia32 OvmfPkg: clone PciHostBridgeDxe from PcAtChipsetPkg 2015-07-14 12:01:36 +00:00
X64 OvmfPkg: clone PciHostBridgeDxe from PcAtChipsetPkg 2015-07-14 12:01:36 +00:00
IoFifo.h OvmfPkg: clone PciHostBridgeDxe from PcAtChipsetPkg 2015-07-14 12:01:36 +00:00
PciHostBridge.c OvmfPkg: PciHostBridgeDxe: shorten search for extra root buses 2015-07-14 12:02:34 +00:00
PciHostBridge.h OvmfPkg: PciHostBridgeDxe: eliminate PCI_HOST_BRIDGE_INSTANCE.RootBridgeNumber 2015-07-14 12:02:25 +00:00
PciHostBridgeDxe.inf OvmfPkg: PciHostBridgeDxe: shorten search for extra root buses 2015-07-14 12:02:34 +00:00
PciRootBridgeIo.c OvmfPkg: PciHostBridgeDxe: use private buffer in RootBridgeIoConfiguration() 2015-07-14 12:02:20 +00:00