From 6ca3af8ecfa5e6fbc03b01c0eba3de9d6e2f7c45 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Tue, 27 Mar 2012 18:23:21 -0500 Subject: Config: Move setWorkCountOptions() to Simulation.py The function is presently defined in FSConfig.py, which does not seem to be the correct place for it. --- configs/example/fs.py | 4 ++-- configs/example/ruby_fs.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'configs/example') diff --git a/configs/example/fs.py b/configs/example/fs.py index 98e5147fc..8b27f25c1 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -133,12 +133,12 @@ elif buildEnv['TARGET_ISA'] == "sparc": test_sys = makeSparcSystem(test_mem_mode, bm[0]) elif buildEnv['TARGET_ISA'] == "x86": test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0]) - setWorkCountOptions(test_sys, options) + Simulation.setWorkCountOptions(test_sys, options) elif buildEnv['TARGET_ISA'] == "arm": test_sys = makeArmSystem(test_mem_mode, options.machine_type, bm[0], bare_metal=options.bare_metal) - setWorkCountOptions(test_sys, options) + Simulation.setWorkCountOptions(test_sys, options) else: fatal("incapable of building non-alpha or non-sparc full system!") diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index 8de05897e..ac7587bf5 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -106,7 +106,7 @@ if buildEnv['TARGET_ISA'] == "alpha": system = makeLinuxAlphaRubySystem(test_mem_mode, bm[0]) elif buildEnv['TARGET_ISA'] == "x86": system = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0], True) - setWorkCountOptions(system, options) + Simulation.setWorkCountOptions(system, options) else: fatal("incapable of building non-alpha or non-x86 full system!") -- cgit v1.2.3