diff options
| author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-09-30 08:10:08 +0300 |
|---|---|---|
| committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-09 05:41:29 +0300 |
| commit | 728d74973c9262b6c7b7ef4be213223d55affec3 (patch) | |
| tree | 96d6d092efa654570fc749cd8a81815249e4cf54 /BaseTools/Source/Python/build/BuildReport.py | |
| parent | f8f0e454e1f9e0be354cfab2b70d4faa14982f6f (diff) | |
| download | edk2-728d74973c9262b6c7b7ef4be213223d55affec3.tar.xz | |
MdeModulePkg/PciBus: Count multiple hotplug resource paddings
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=720
The current implementation assumes there is only one hotplug resource
padding for each resource type. It's not true considering
DegradeResource(): MEM64 resource could be degraded to MEM32
resource.
The patch treat the resource paddings using the same logic as
treating typical/actual resources and the total resource of a bridge
is set to the MAX of typical/actual resources and resource paddings.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/build/BuildReport.py')
0 files changed, 0 insertions, 0 deletions
