fs.py (4455:18ff8ee46de8) | fs.py (4837:4e5c7f774548) |
---|---|
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 --- 120 unchanged lines hidden (view full) --- 129 130if len(bm) == 2: 131 if m5.build_env['TARGET_ISA'] == 'alpha': 132 drive_sys = makeLinuxAlphaSystem(drive_mem_mode, bm[1]) 133 elif m5.build_env['TARGET_ISA'] == 'sparc': 134 drive_sys = makeSparcSystem(drive_mem_mode, bm[1]) 135 drive_sys.cpu = DriveCPUClass(cpu_id=0) 136 drive_sys.cpu.connectMemPorts(drive_sys.membus) | 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 --- 120 unchanged lines hidden (view full) --- 129 130if len(bm) == 2: 131 if m5.build_env['TARGET_ISA'] == 'alpha': 132 drive_sys = makeLinuxAlphaSystem(drive_mem_mode, bm[1]) 133 elif m5.build_env['TARGET_ISA'] == 'sparc': 134 drive_sys = makeSparcSystem(drive_mem_mode, bm[1]) 135 drive_sys.cpu = DriveCPUClass(cpu_id=0) 136 drive_sys.cpu.connectMemPorts(drive_sys.membus) |
137 if options.kernel is not None: 138 drive_sys.kernel = binary(options.kernel) 139 |
|
137 root = makeDualRoot(test_sys, drive_sys, options.etherdump) 138elif len(bm) == 1: 139 root = Root(system=test_sys) 140else: 141 print "Error I don't know how to create more than 2 systems." 142 sys.exit(1) 143 144Simulation.run(options, root, test_sys, FutureClass) | 140 root = makeDualRoot(test_sys, drive_sys, options.etherdump) 141elif len(bm) == 1: 142 root = Root(system=test_sys) 143else: 144 print "Error I don't know how to create more than 2 systems." 145 sys.exit(1) 146 147Simulation.run(options, root, test_sys, FutureClass) |