summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-01-09 18:08:20 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2012-01-09 18:08:20 -0600
commit80a6907927461241883a47b552272702978216f8 (patch)
tree4cfb467aa115465241653336f7ab3ed345ad8251 /configs/example
parent3f9e352de4e1ac34e1f0b83c3f66af2175b524f4 (diff)
downloadgem5-80a6907927461241883a47b552272702978216f8.tar.xz
ARM: Add support for initparam m5 op
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/fs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py
index 5945e5d9b..8ae8d8310 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -151,6 +151,8 @@ if options.kernel is not None:
if options.script is not None:
test_sys.readfile = options.script
+test_sys.init_param = options.init_param
+
test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)]
CacheConfig.config_cache(options, test_sys)
@@ -199,6 +201,7 @@ if len(bm) == 2:
if options.kernel is not None:
drive_sys.kernel = binary(options.kernel)
+ drive_sys.init_param = options.init_param
root = makeDualRoot(test_sys, drive_sys, options.etherdump)
elif len(bm) == 1:
root = Root(system=test_sys)