summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-01 17:39:16 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-01 17:39:16 -0400
commit456a4570c148759bc229d0295899d4b67b374786 (patch)
treef7c32d48d823420bad02cf686d8e7a5ac6a397db /configs
parent84cd78e96f892f52a715cfe10d9405987f5e9ba1 (diff)
downloadgem5-456a4570c148759bc229d0295899d4b67b374786.tar.xz
Configuration: Update the drive systems kernel as well as the testsys kernel with cmd line option.
--HG-- extra : convert_revision : 5dfb0db65452c0b7aa3e2dc2a0209e3f8e23811f
Diffstat (limited to 'configs')
-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 76c12bd9e..e772a3ab1 100644
--- a/configs/example/fs.py
+++ b/configs/example/fs.py
@@ -134,6 +134,9 @@ if len(bm) == 2:
drive_sys = makeSparcSystem(drive_mem_mode, bm[1])
drive_sys.cpu = DriveCPUClass(cpu_id=0)
drive_sys.cpu.connectMemPorts(drive_sys.membus)
+ if options.kernel is not None:
+ drive_sys.kernel = binary(options.kernel)
+
root = makeDualRoot(test_sys, drive_sys, options.etherdump)
elif len(bm) == 1:
root = Root(system=test_sys)