summaryrefslogtreecommitdiff
path: root/src/sim/System.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-02-16 03:33:37 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-02-16 03:33:37 -0500
commit57758ca685fe1a736cfdc214785b04441e83e53a (patch)
tree1a067796f7d86d824814a342464936d49cd82dea /src/sim/System.py
parentd0e1b8a19c6d58a49e5288938e9b12f3f10b9f51 (diff)
downloadgem5-57758ca685fe1a736cfdc214785b04441e83e53a.tar.xz
mem: Use the range cache for lookup as well as access
This patch changes the range cache used in the global physical memory to be an iterator so that we can use it not only as part of isMemAddr, but also access and functionalAccess. This matches use-cases where a core is using the atomic non-caching memory mode, and repeatedly calls isMemAddr and access. Linux boot on aarch32, with a single atomic CPU, is now more than 30% faster when using "--fastmem" compared to not using the direct memory access.
Diffstat (limited to 'src/sim/System.py')
0 files changed, 0 insertions, 0 deletions