Add an I/O cache to FS config even if there's just an "L2" cache.

This commit is contained in:
Steve Reinhardt 2009-09-14 21:19:40 -07:00
parent c7f0cf9803
commit 15bb248013

View 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'))