arch,sim: Use _m5opRange in System::allocPhysPages.
authorGabe Black <gabeblack@google.com>
Tue, 26 Nov 2019 00:25:33 +0000 (16:25 -0800)
committerGabe Black <gabeblack@google.com>
Fri, 7 Feb 2020 07:37:38 +0000 (07:37 +0000)
commit95c6a839a5f58914eca4d77afe2150eec4eac7e7
tree1a3fd0023cfdaa921dbaea24988f5d09156b0920
parent206aa5b280268b011596eb9ae247aca50ce7b9c5
arch,sim: Use _m5opRange in System::allocPhysPages.

This removes the hardcoded assumption that the m5 ops live at the
address they use in x86.

Jira Issue: https://gem5.atlassian.net/browse/GEM5-187

Change-Id: Ia551d7cf5b08f926c7756541c92a2af9bb73b88a
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23181
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/system.hh
src/sim/system.cc
src/sim/system.hh