fs.py (3970:d54945bab95d) fs.py (4167:ce5d0f62f13b)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 123 unchanged lines hidden (view full) ---

132 if m5.build_env['TARGET_ISA'] == 'alpha':
133 drive_sys = makeLinuxAlphaSystem(drive_mem_mode, bm[1])
134 elif m5.build_env['TARGET_ISA'] == 'sparc':
135 drive_sys = makeSparcSystem(drive_mem_mode, bm[1])
136 drive_sys.cpu = DriveCPUClass(cpu_id=0)
137 drive_sys.cpu.connectMemPorts(drive_sys.membus)
138 root = makeDualRoot(test_sys, drive_sys, options.etherdump)
139elif len(bm) == 1:
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 123 unchanged lines hidden (view full) ---

132 if m5.build_env['TARGET_ISA'] == 'alpha':
133 drive_sys = makeLinuxAlphaSystem(drive_mem_mode, bm[1])
134 elif m5.build_env['TARGET_ISA'] == 'sparc':
135 drive_sys = makeSparcSystem(drive_mem_mode, bm[1])
136 drive_sys.cpu = DriveCPUClass(cpu_id=0)
137 drive_sys.cpu.connectMemPorts(drive_sys.membus)
138 root = makeDualRoot(test_sys, drive_sys, options.etherdump)
139elif len(bm) == 1:
140 root = Root(clock = '1THz', system = test_sys)
140 root = Root(system=test_sys)
141else:
142 print "Error I don't know how to create more than 2 systems."
143 sys.exit(1)
144
145Simulation.run(options, root, test_sys, FutureClass)
141else:
142 print "Error I don't know how to create more than 2 systems."
143 sys.exit(1)
144
145Simulation.run(options, root, test_sys, FutureClass)