From: Ali Saidi Date: Wed, 1 Aug 2007 21:39:16 +0000 (-0400) Subject: Configuration: Update the drive systems kernel as well as the testsys kernel with... X-Git-Tag: m5_2.0_beta4~204^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=456a4570c148759bc229d0295899d4b67b374786;p=gem5.git Configuration: Update the drive systems kernel as well as the testsys kernel with cmd line option. --HG-- extra : convert_revision : 5dfb0db65452c0b7aa3e2dc2a0209e3f8e23811f --- 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)