summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2012-03-09 16:45:47 -0500
committerAli Saidi <saidi@eecs.umich.edu>2012-03-09 16:45:47 -0500
commitd2a0db7fe971f4153fee2fbf57c550ea59c246fd (patch)
treea0944cda22e1c05c81ecd56390a0506fcb68bb1a /configs/example
parent470051345af2a78425730bd790000530b1b8a1f5 (diff)
downloadgem5-d2a0db7fe971f4153fee2fbf57c550ea59c246fd.tar.xz
ARM: Fix memory starting at non-zero address and exceeding max mem for a system.
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/fs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index b3d607a1b..98e5147fc 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -157,7 +157,7 @@ if bm[0]:
else:
mem_size = SysConfig().mem()
if options.caches or options.l2cache:
- test_sys.iocache = IOCache(addr_ranges=[mem_size])
+ test_sys.iocache = IOCache(addr_ranges=[test_sys.physmem.range])
test_sys.iocache.cpu_side = test_sys.iobus.master
test_sys.iocache.mem_side = test_sys.membus.slave
else: