audk/MdeModulePkg/Bus
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
..
Ata MdeModulePkg/.../IdeMode: correctly report length of returned data 2016-01-25 11:33:37 +00:00
I2c/I2cDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Isa/IsaBusDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Pci MdeModulePkg/PciHostBridge: Don't assume resources are fully NonExistent 2016-02-26 13:31:51 +01:00
Scsi MdeModulePkg/ScsiDisk: Increase the value of SCSI_DISK_TIMEOUT to 30s 2016-01-07 07:03:54 +00:00
Ufs MdeModulePkg/UfsBlockIoPei: Fix MS toolchain /Od 32bit build failure 2016-01-11 02:46:36 +00:00
Usb MdeModulePkg/UsbBusDxe: Fix memory leak 2016-02-24 12:37:19 +08:00