From 456a4570c148759bc229d0295899d4b67b374786 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Wed, 1 Aug 2007 17:39:16 -0400 Subject: Configuration: Update the drive systems kernel as well as the testsys kernel with cmd line option. --HG-- extra : convert_revision : 5dfb0db65452c0b7aa3e2dc2a0209e3f8e23811f --- configs/example/fs.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs') 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) -- cgit v1.2.3 From e719a3e4c058920fb5913a38fbe4976d53a0e6e2 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 1 Aug 2007 18:19:23 -0700 Subject: Fix how the "cmd" parameter is set in se.py and remove hack in x86 process initialization code. --HG-- extra : convert_revision : 1fc741eea956ebfa4cef488eef4333d1f50617a6 --- configs/example/se.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configs') diff --git a/configs/example/se.py b/configs/example/se.py index b294480f6..20fe75a21 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -64,7 +64,7 @@ if args: process = LiveProcess() process.executable = options.cmd -process.cmd = options.cmd + " " + options.options +process.cmd = [options.cmd] + options.options.split() if options.input != "": process.input = options.input -- cgit v1.2.3