summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/example/fs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index c0b434eb3..a5a5661f0 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -121,10 +121,10 @@ if options.kernel is not None:
if options.script is not None:
test_sys.readfile = options.script
-CacheConfig.config_cache(options, system)
-
test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
+CacheConfig.config_cache(options, test_sys)
+
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')]