From 15bb2480135d7192f895cfb8a3a945fa24472037 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 14 Sep 2009 21:19:40 -0700 Subject: [PATCH] Add an I/O cache to FS config even if there's just an "L2" cache. --- configs/example/fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/example/fs.py b/configs/example/fs.py index b5be79a08..3164b6fb4 100644 --- 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'))