projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7f0cf9
)
Add an I/O cache to FS config even if there's just an "L2" cache.
author
Steve Reinhardt
<steve.reinhardt@amd.com>
Tue, 15 Sep 2009 04:19:40 +0000
(21:19 -0700)
committer
Steve Reinhardt
<steve.reinhardt@amd.com>
Tue, 15 Sep 2009 04:19:40 +0000
(21:19 -0700)
configs/example/fs.py
patch
|
blob
|
history
diff --git
a/configs/example/fs.py
b/configs/example/fs.py
index b5be79a081fc822ab767dbd07f57db388f1b785c..3164b6fb42b653f9cf95e614f1b306fffa4861b9 100644
(file)
--- 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'))