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
PciBus.c
PciBus.h
PciBusNoEnumeration.inf
PciCommand.c
PciCommand.h
PciDeviceSupport.c
PciDeviceSupport.h
PciDriverOverride.c
PciDriverOverride.h
PciEnumerator.c
PciEnumerator.h
PciEnumeratorSupport.c DuetPkg-PciBusNoEnumerationDxe: Fix stack overflow 2016-02-26 10:39:15 +08:00
PciEnumeratorSupport.h
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
PciOptionRomSupport.c Improve robustness when scanning PCI Option ROM. 2012-03-14 03:17:17 +00:00
PciOptionRomSupport.h
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
PciRomTable.c Improve robustness when scanning PCI Option ROM. 2012-03-14 03:17:17 +00:00
PciRomTable.h