base: Fix address range granularity calculations
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 7 Mar 2013 10:55:03 +0000 (05:55 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 7 Mar 2013 10:55:03 +0000 (05:55 -0500)
commit82f600e02ded4d7162dd9286f790462b9ab5d554
tree183e05bb83c03a1df8fa6aea7586e3af50365c49
parent92e973b310a18508e51114abe936919df091fc38
base: Fix address range granularity calculations

This patch fixes a bug in the address range granularity
calculations. Previously it incorrectly used the high bit to establish
the size of the regions created, when it should really be looking at
the low bit.
src/base/addr_range.hh