diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2016-02-25 17:13:31 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-03-04 10:48:34 +0800 |
commit | 414f7e3bc26ce01128fc36c5829a40d5db9f6be9 (patch) | |
tree | 4d52f52d8df0afbafcdc3a8abe94090d45178611 /IntelFspWrapperPkg | |
parent | 3eb9d5cc5d91bcd1f14ea591b68dd1e69e5eb416 (diff) | |
download | edk2-platforms-414f7e3bc26ce01128fc36c5829a40d5db9f6be9.tar.xz |
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>
(cherry picked from commit 6474f1f156eefa6886e594039f4d562e374ba344)
Diffstat (limited to 'IntelFspWrapperPkg')
0 files changed, 0 insertions, 0 deletions