diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-01-27 18:50:51 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-01-27 18:50:51 -0600 |
commit | 95b782f60005b58275889e3c5ab2a62ccc7d59c5 (patch) | |
tree | 130b209ce4f1b7d97e3adb448496d6c9dde5ef64 /configs/common/MemConfig.py | |
parent | fa0ff1c9023ca74c4032045a4d53daf0ccc1eb35 (diff) | |
download | gem5-95b782f60005b58275889e3c5ab2a62ccc7d59c5.tar.xz |
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.
Diffstat (limited to 'configs/common/MemConfig.py')
-rw-r--r-- | configs/common/MemConfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |