Config: Fix fs.py's call to CacheConfig.config_cache.

This commit is contained in:
Gabe Black 2010-02-27 18:52:57 -08:00
parent f0b4259e98
commit b1cbd7841a

View file

@ -121,10 +121,10 @@ if options.kernel is not None:
if options.script is not None: if options.script is not None:
test_sys.readfile = options.script test_sys.readfile = options.script
CacheConfig.config_cache(options, system)
test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)] test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
CacheConfig.config_cache(options, test_sys)
if options.caches or options.l2cache: if options.caches or options.l2cache:
test_sys.bridge.filter_ranges_a=[AddrRange(0, Addr.max)] test_sys.bridge.filter_ranges_a=[AddrRange(0, Addr.max)]
test_sys.bridge.filter_ranges_b=[AddrRange(0, size='8GB')] test_sys.bridge.filter_ranges_b=[AddrRange(0, size='8GB')]