From: Gabe Black Date: Sun, 28 Feb 2010 02:52:57 +0000 (-0800) Subject: Config: Fix fs.py's call to CacheConfig.config_cache. X-Git-Tag: stable_2012_02_02~1487 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1cbd7841acad5fdcd88c2e644b454e95190eb7e;p=gem5.git Config: Fix fs.py's call to CacheConfig.config_cache. --- 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')]