diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-01-25 15:55:55 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-02-10 16:52:00 +0800 |
commit | 8a93fa1efb24022ac7fea1b725944f962ba9d4c9 (patch) | |
tree | 985b4f22863ea8ed09ade010d156f387a88c18a6 /BaseTools/Source/Python/AutoGen/AutoGen.py | |
parent | 9b6483237984d9819809eb13119db8fb1026be31 (diff) | |
download | edk2-8a93fa1efb24022ac7fea1b725944f962ba9d4c9.tar.gz edk2-8a93fa1efb24022ac7fea1b725944f962ba9d4c9.tar.bz2 edk2-8a93fa1efb24022ac7fea1b725944f962ba9d4c9.zip |
MdeModulePkg/PciBus: Accept Spec values as BarIndex and Alignment
PI spec IncompatiblePciSupport part defines (UINT64)-1 as all BARs
and 0 to use existing alignment. PciBus driver didn't accept these
values. It treated 0xFF as all BARs and 0xFFFFFFFFFFFFFFFFULL to use
existing alignment.
The patch changes the code to still accept old values while also
accept values defined in PI spec. So that the driver can provide
backward compatibility and follow spec.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
0 files changed, 0 insertions, 0 deletions