commit | f9607bef04a9abb698f9f8b4518b7955dc326521 | [log] [tgz] |
---|---|---|
author | Ruiyu Ni <ruiyu.ni@intel.com> | Fri Apr 29 17:38:51 2016 +0800 |
committer | Ruiyu Ni <ruiyu.ni@intel.com> | Wed May 11 08:53:36 2016 +0800 |
tree | b0599681776902beaf8dc7a64ddf4b05a92f87ee | |
parent | 814f4306d8f72c56512765de4de36bce774ce62a [diff] |
MdeModulePkg/PciHostBridgeDxe: Fix a Base/Limit comparing bug When the aperture base equals to aperture limit, the old code treats the aperture as non-existent. It's not correct because it indicates a range starting with base and the length is 1. The new code corrects the comparing bug. 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: Laszlo Ersek <lersek@redhat.com>