]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtualizationPkg/PciHostBridgeDxe: accommodate general address spaces
authorLaszlo Ersek <lersek@redhat.com>
Mon, 23 Feb 2015 16:03:28 +0000 (16:03 +0000)
committerlersek <lersek@Edk2>
Mon, 23 Feb 2015 16:03:28 +0000 (16:03 +0000)
commit286c88bcce13dc88fffbcedd0fd2455790078e97
tree9356e257bb5b8d0326109a9efe9eab82396c2caa
parent1cfa1957bb6979c6b7b30cd270cab44842639f56
ArmVirtualizationPkg/PciHostBridgeDxe: accommodate general address spaces

The RootBridgeIoCheckParameter() function currently relies on the range
limit being of the form (2^n - 1). This assumption is not necessarily
true; handle the general case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Olivier Martin <Olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16901 6f19259b-4bc3-4df7-8a09-765794883524
ArmPlatformPkg/ArmVirtualizationPkg/PciHostBridgeDxe/PciRootBridgeIo.c