summaryrefslogtreecommitdiff
path: root/configs/example/se.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-03-06 21:53:57 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-03-06 21:53:57 -0600
commitc0618198908b592ff0c165b671cb5d8d785d83ca (patch)
tree96b98dbf6262a9f417c7d53ef59c09ff56018e2c /configs/example/se.py
parente8802fa127f5a446e708eb9f7ce8509e850bf699 (diff)
downloadgem5-c0618198908b592ff0c165b671cb5d8d785d83ca.tar.xz
ruby: remove the functional copy of memory in se mode
This patch removes the functional copy of the memory that was maintained in the se mode. Now ruby itself will provide the data.
Diffstat (limited to 'configs/example/se.py')
-rw-r--r--configs/example/se.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index fe5524ef5..20149cccd 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -187,6 +187,9 @@ if options.ruby:
print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"
sys.exit(1)
+ # Set the option for physmem so that it is not allocated any space
+ system.physmem.null = True
+
options.use_map = True
Ruby.create_system(options, system)
assert(options.num_cpus == len(system.ruby._cpu_ruby_ports))