Add an I/O cache to FS config even if there's just an "L2" cache.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 15 Sep 2009 04:19:40 +0000 (21:19 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Tue, 15 Sep 2009 04:19:40 +0000 (21:19 -0700)
configs/example/fs.py

index b5be79a081fc822ab767dbd07f57db388f1b785c..3164b6fb42b653f9cf95e614f1b306fffa4861b9 100644 (file)
@@ -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'))