From 08c0919b433d7188c61a43266f7cfa1d67df28ae Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Thu, 27 Jul 2006 17:49:00 -0400 Subject: Clean up some more config stuff. configs/common/FSConfig.py: Clean up some code to make functions look less like classes. Also put makeList function (formerly listWrapper) into m5 itself. configs/test/fs.py: Update for changed code. src/python/m5/__init__.py: Put makeList into m5. --HG-- extra : convert_revision : 731806a7486f9abf986f52926126df666b024b1d --- configs/test/fs.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'configs/test') diff --git a/configs/test/fs.py b/configs/test/fs.py index 004edda79..741ebfe54 100644 --- a/configs/test/fs.py +++ b/configs/test/fs.py @@ -36,13 +36,14 @@ else: mem_mode = 'atomic' if options.dual: - root = DualRoot( - MyLinuxAlphaSystem(cpu, mem_mode, linux_image), - MyLinuxAlphaSystem(cpu2, mem_mode, linux_image)) + root = makeDualRoot( + makeLinuxAlphaSystem(cpu, mem_mode, linux_image), + makeLinuxAlphaSystem(cpu2, mem_mode, linux_image)) root.client.readfile = script('netperf-stream-nt-client.rcS') root.server.readfile = script('netperf-server.rcS') else: - root = TsunamiRoot(clock = '1THz', system = MyLinuxAlphaSystem(cpu, mem_mode, linux_image)) + root = Root(clock = '1THz', + system = makeLinuxAlphaSystem(cpu, mem_mode, linux_image)) m5.instantiate(root) -- cgit v1.2.3