diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-06 21:53:57 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-06 21:53:57 -0600 |
commit | c0618198908b592ff0c165b671cb5d8d785d83ca (patch) | |
tree | 96b98dbf6262a9f417c7d53ef59c09ff56018e2c /configs | |
parent | e8802fa127f5a446e708eb9f7ce8509e850bf699 (diff) | |
download | gem5-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')
-rw-r--r-- | configs/example/ruby_fs.py | 2 | ||||
-rw-r--r-- | configs/example/se.py | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index 8d21cfb32..32ddb90bf 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -114,5 +114,7 @@ for (i, cpu) in enumerate(system.cpu): cpu.interrupts.int_master = system.piobus.slave cpu.interrupts.int_slave = system.piobus.master + system.ruby._cpu_ruby_ports[i].access_phys_mem = True + root = Root(full_system = True, system = system) Simulation.run(options, root, system, FutureClass) 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)) |