summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-08-03 13:52:02 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-08-03 16:37:20 +0000
commit3a02fcbaca8879f227c735bd42e9c79283fc17ed (patch)
treed1f5aadd4c9f32ff806bdcda1804a7af1b59fe5e /configs
parent9b64954ec0fc9dcbc36dabe8d247e4949c90c42f (diff)
downloadgem5-3a02fcbaca8879f227c735bd42e9c79283fc17ed.tar.xz
configs, arm: Fix incorrect use of mem_range in bL example
The change "config: Change mem_range attribute naming in ARM SimpleSystem" modified the SimpleSystem class to be compatible with the MemConfig utility script. While doing so, the way we report the memory ranges supported by the system changed, which broke the bL example configration. This changeset introduces the necessary changes to make the script work again. Change-Id: I789987950ff04b6c5ae1c8b807355bcba34f6b3c Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/4380 Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/example/arm/fs_bigLITTLE.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/example/arm/fs_bigLITTLE.py b/configs/example/arm/fs_bigLITTLE.py
index a6110b520..489bc53b7 100644
--- a/configs/example/arm/fs_bigLITTLE.py
+++ b/configs/example/arm/fs_bigLITTLE.py
@@ -117,8 +117,8 @@ def createSystem(caches, kernel, bootscript, disks=[]):
kernel=SysPaths.binary(kernel),
readfile=bootscript)
- sys.mem_ctrls = SimpleMemory(range=sys._mem_range)
- sys.mem_ctrls.port = sys.membus.master
+ sys.mem_ctrls = [ SimpleMemory(range=r, port=sys.membus.master)
+ for r in sys.mem_ranges ]
sys.connect()