base: Fix isSubset() for addr ranges with interleaving
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 29 Aug 2018 10:36:22 +0000 (11:36 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 10 Sep 2018 14:47:26 +0000 (14:47 +0000)
commit34b16aa817238c3db88462dc31173faf27cfdcba
tree5fa7fa739ac76c3474df1cda99e014e947e0058f
parent3d4a78bec0d7c013e699c10eb56de15f85c82430
base: Fix isSubset() for addr ranges with interleaving

This change extends isSubset() which checks whether the range is a
subset of an input range to support address ranges with interleaving
and hashing.

Change-Id: I3dc9ceccb189b7c8665de0355f0555fc2c37d872
Reviewed-on: https://gem5-review.googlesource.com/12319
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/base/SConscript
src/base/addr_range.hh
src/base/addr_range_test.cc [new file with mode: 0644]