From 95b782f60005b58275889e3c5ab2a62ccc7d59c5 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 27 Jan 2014 18:50:51 -0600 Subject: config: allow more than 3GB of memory for x86 simulations This patch edits the configuration files so that x86 simulations can have more than 3GB of memory. It also corrects a bug in the MemConfig.py script. --- configs/common/MemConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs/common/MemConfig.py') diff --git a/configs/common/MemConfig.py b/configs/common/MemConfig.py index a74ff1d62..456ff4e1d 100644 --- a/configs/common/MemConfig.py +++ b/configs/common/MemConfig.py @@ -189,5 +189,5 @@ def config_mem(options, system): system.mem_ctrls = mem_ctrls # Connect the controllers to the membus - for i in xrange(nbr_mem_ctrls): + for i in xrange(len(system.mem_ctrls)): system.mem_ctrls[i].port = system.membus.master -- cgit v1.2.3