summaryrefslogtreecommitdiff
path: root/OvmfPkg/Library/PlatformBdsLib/QemuKernel.c
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2015-07-14 12:01:48 +0000
committerlersek <lersek@Edk2>2015-07-14 12:01:48 +0000
commit7730ad6e5d754e4d536a1fe610379697b66e5323 (patch)
treec0ac43a69bf6772567f1d1fb55a8bc1bf701161f /OvmfPkg/Library/PlatformBdsLib/QemuKernel.c
parentfcd1e5de52ac8cbb3627e72a6e77d9768bbf5e5d (diff)
downloadedk2-platforms-7730ad6e5d754e4d536a1fe610379697b66e5323.tar.xz
OvmfPkg: PlatformBdsLib: refine PCI host bridge assertion
The ASSERT() in SetPciIntLine() assumes that Device 0 on "the" root bus corresponds to the PCI host bridge (00:00). This used to be true, but because we're going to have extra root buses (with nonzero bus numbers), soon this assumption may no longer hold. Check for the zero root bus number explicitly. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gabriel Somlo <somlo@cmu.edu> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Gabriel Somlo <somlo@cmu.edu> 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@17953 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Library/PlatformBdsLib/QemuKernel.c')
0 files changed, 0 insertions, 0 deletions