audk/DuetPkg/PciBusNoEnumerationDxe
Lee Leahy ba33c80fc5 DuetPkg-PciBusNoEnumerationDxe: Fix stack overflow
When a PCI bridge is not enabled, the secondary bus may still be zero.
This causes an infinite recursive call to enumerate bus 0 which results
in a stack overflow.  The easy fix is to skip the recursive bus
enumeration for bridges which do not have the secondary bus initialized.

TEST=Build and run CorebootPayloadPkg on Quark/Galileo Gen2

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2016-02-26 10:39:15 +08:00
..
ComponentName.c Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciBus.c Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciBus.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciBusNoEnumeration.inf Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciCommand.c Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciCommand.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciDeviceSupport.c Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciDeviceSupport.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciDriverOverride.c Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciDriverOverride.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciEnumerator.c Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciEnumerator.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciEnumeratorSupport.c DuetPkg-PciBusNoEnumerationDxe: Fix stack overflow 2016-02-26 10:39:15 +08:00
PciEnumeratorSupport.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciIo.c Change PciIo::GetBarAttributes() to return unsupported for a unsupported bar even it's below 6 to follow the UEFI Spec. 2014-05-19 06:08:26 +00:00
PciIo.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciOptionRomSupport.c Improve robustness when scanning PCI Option ROM. 2012-03-14 03:17:17 +00:00
PciOptionRomSupport.h Update the copyright notice format 2010-04-28 12:39:50 +00:00
PciPowerManagement.c MdeModulePkg PciBusDxe and DuetPkg PciBusNoEnumerationDxe: Update ResetPowerManagementFeature() to clear 4 related R/W bits in the PMCSR register, leaving other bits preserved. 2012-04-12 01:49:27 +00:00
PciPowerManagement.h fix X64 build broken 2010-06-05 11:01:28 +00:00
PciRomTable.c Improve robustness when scanning PCI Option ROM. 2012-03-14 03:17:17 +00:00
PciRomTable.h Update the copyright notice format 2010-04-28 12:39:50 +00:00