mem: Use address range to find the right physical address
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 4 Jun 2018 15:30:50 +0000 (16:30 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 19 Jun 2018 14:24:25 +0000 (14:24 +0000)
commit353722e76e6f2303a3990b974e27bc055c584958
tree6718a24d2798f042b43adb23af7cf8ccdf4a40c5
parent6cb46ba839b2bf535e294fde9179e2aff6095814
mem: Use address range to find the right physical address

Previously, we used the start address to determine the right physical
memory while servicing memory requests. This change uses the full
address range to correctly determine the right physical memory and
expose bugs where requests might not fully map to a single physical
memory.

Change-Id: I183d7552918106000f917a62ceb877511ff0ff71
Reviewed-on: https://gem5-review.googlesource.com/11118
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/physical.cc