audk/MdeModulePkg/Bus/Pci
Ruiyu Ni 6474f1f156 MdeModulePkg/PciHostBridge: Don't assume resources are fully NonExistent
The patch removes the assumption that the resources claimed by root
bridges should not exist. Because resources might have been added:
1. by platform modules either in PEI through resource HOB, or in DXE,
   before the PCI host bridge driver runs.
2. Resources claimed by different root bridges may overlap so that
   resource adding operation for latter root bridges may fail if
   we assume the resource should not exist.

In real world, this patch is to fit OVMF platform needs because
different root bridges in OVMF platform shares the same resources.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
[lersek@redhat.com: intersection-based implementation]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2016-02-26 13:31:51 +01:00
..
EhciDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
EhciPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IdeBusPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IncompatiblePciDeviceSupportDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NvmExpressDxe MdeModulePkg: NvmExpressDxe: clean up NvmeRead() / NvmeWrite() debug msgs 2016-01-28 11:03:15 +00:00
PciBusDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
PciHostBridgeDxe MdeModulePkg/PciHostBridge: Don't assume resources are fully NonExistent 2016-02-26 13:31:51 +01:00
PciSioSerialDxe MdeModulePkg/PciSioSerialDxe:bitwise operation have same width operands 2015-12-17 00:50:38 +00:00
UfsPciHcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UfsPciHcPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
UhciDxe MdeModulePkg UhciDxe: Fix a typo in function description 2016-01-06 01:09:56 +00:00
UhciPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
XhciDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
XhciPei MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00