ARM: Fix memory starting at non-zero address and exceeding max mem for a system.
This commit is contained in:
@@ -157,7 +157,7 @@ if bm[0]:
|
||||
else:
|
||||
mem_size = SysConfig().mem()
|
||||
if options.caches or options.l2cache:
|
||||
test_sys.iocache = IOCache(addr_ranges=[mem_size])
|
||||
test_sys.iocache = IOCache(addr_ranges=[test_sys.physmem.range])
|
||||
test_sys.iocache.cpu_side = test_sys.iobus.master
|
||||
test_sys.iocache.mem_side = test_sys.membus.slave
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user