audk/MdeModulePkg
Ruiyu Ni 728d74973c 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>
2017-10-09 10:41:29 +08:00
..
Application MdeModulePkg CapsuleApp: Fix print info in BuildGatherList() 2017-07-03 17:53:16 +08:00
Bus MdeModulePkg/PciBus: Count multiple hotplug resource paddings 2017-10-09 10:41:29 +08:00
Core MdeModulePkg PeiCore: More debug messages for pre-memory allocations 2017-09-30 09:29:44 +08:00
Include MdeModulePkg: Add GUID/flags to implement BitField support 2017-09-21 16:17:41 +08:00
Library MdeModulePkg/DxeNetLib: Fix negative value left shift 2017-09-29 16:14:17 +08:00
Logo MdeModulePkg/LogoDxe: Return error if HII Package not present 2017-05-22 16:30:11 -07:00
Universal MdeModulePkg/BdsDxe: Don't delete "BootNext" until booting it 2017-09-29 15:23:15 +08:00
MdeModulePkg.dec MdeModulePkg: Add GUID/flags to implement BitField support 2017-09-21 16:17:41 +08:00
MdeModulePkg.dsc MdeModulePkg: Add UdfDxe to the dsc file 2017-09-13 18:24:40 +08:00
MdeModulePkg.uni MdeModulePkg: Add PROMPT&HELP string of pcd to UNI file 2017-03-07 21:47:19 +08:00
MdeModulePkgExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00