changeset 773aae0990ae in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=773aae0990ae
description:
        config: Fix mem-type option not used in ruby_fs script
        This fixes missing mem-type arguments to makeLinuxAlphaRubySystem and
        makeLinuxX86System after a recent changeset allowing mem-type to be
        configured via options missed fixing these calls.

        Committed by: Nilay Vaish <[email protected]>

diffstat:

 configs/example/ruby_fs.py |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 83d5112e71dd -r 773aae0990ae configs/example/ruby_fs.py
--- a/configs/example/ruby_fs.py        Tue Apr 23 09:47:52 2013 -0400
+++ b/configs/example/ruby_fs.py        Tue Apr 23 11:56:48 2013 -0500
@@ -82,10 +82,13 @@
 
 CPUClass.clock = options.clock
 
+TestMemClass = Simulation.setMemClass(options)
+
 if buildEnv['TARGET_ISA'] == "alpha":
-    system = makeLinuxAlphaRubySystem(test_mem_mode, bm[0])
+    system = makeLinuxAlphaRubySystem(test_mem_mode, TestMemClass, bm[0])
 elif buildEnv['TARGET_ISA'] == "x86":
-    system = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0], True)
+    system = makeLinuxX86System(test_mem_mode, TestMemClass,
+                                options.num_cpus, bm[0], True)
     Simulation.setWorkCountOptions(system, options)
 else:
     fatal("incapable of building non-alpha or non-x86 full system!")
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to