summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorSteve Reinhardt <steve.reinhardt@amd.com>2009-09-14 21:19:40 -0700
committerSteve Reinhardt <steve.reinhardt@amd.com>2009-09-14 21:19:40 -0700
commit15bb2480135d7192f895cfb8a3a945fa24472037 (patch)
tree8aed41e27166e7775a1b4f75a6b223cd4cdb7a6e /configs
parentc7f0cf9803e0f6df748029f5accb938b6ad05790 (diff)
downloadgem5-15bb2480135d7192f895cfb8a3a945fa24472037.tar.xz
Add an I/O cache to FS config even if there's just an "L2" cache.
Diffstat (limited to 'configs')
-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 b5be79a08..3164b6fb4 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -123,7 +123,7 @@ if options.l2cache:
test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
-if options.caches:
+if options.caches or options.l2cache:
test_sys.bridge.filter_ranges_a=[AddrRange(0, Addr.max)]
test_sys.bridge.filter_ranges_b=[AddrRange(0, size='8GB')]
test_sys.iocache = IOCache(addr_range=AddrRange(0, size='8GB'))