]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg: PciHostBridgeDxe: factor out InitRootBridge() function
authorLaszlo Ersek <lersek@redhat.com>
Tue, 14 Jul 2015 12:02:11 +0000 (12:02 +0000)
committerlersek <lersek@Edk2>
Tue, 14 Jul 2015 12:02:11 +0000 (12:02 +0000)
commitf5f9496c79e2b82002b32323f1d25ca6df6e7c8a
tree5c9ce60d25743e2c62cca70b2e20c180ff585b34
parentfe907a688c58bc834e5eb368837d5efb184dac87
OvmfPkg: PciHostBridgeDxe: factor out InitRootBridge() function

This new function incorporates the current loop body found in the entry
point function, InitializePciHostBridge(). It will be called once for each
root bus discovered.

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@17958 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/PciHostBridgeDxe/PciHostBridge.c