summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Elver <marco.elver@ed.ac.uk>2013-04-23 11:56:48 -0500
committerMarco Elver <marco.elver@ed.ac.uk>2013-04-23 11:56:48 -0500
commit0c57194a095a27e8c43478713ad8a252ad1a81f1 (patch)
tree8d5f195cec2bf52d99b2ad023bd2d9a08de0bc70
parentb222ba2fd32c5ac9c91cfab518382761cac5b2c7 (diff)
downloadgem5-0c57194a095a27e8c43478713ad8a252ad1a81f1.tar.xz
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 <nilay@cs.wisc.edu>
-rw-r--r--configs/example/ruby_fs.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py
index 32ddb90bf..e04e14434 100644
--- a/configs/example/ruby_fs.py
+++ b/configs/example/ruby_fs.py
@@ -82,10 +82,13 @@ if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
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!")