Deleted Added
sdiff udiff text old ( 8803:f6c5785bc8fd ) new ( 8810:00f0d0230596 )
full compact
1# Copyright (c) 2010-2011 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

188 drive_sys = makeArmSystem(drive_mem_mode, options.machine_type, bm[1])
189
190 drive_sys.cpu = DriveCPUClass(cpu_id=0)
191 drive_sys.cpu.connectAllPorts(drive_sys.membus)
192 if options.fastmem:
193 drive_sys.cpu.physmem_port = drive_sys.physmem.port
194 if options.kernel is not None:
195 drive_sys.kernel = binary(options.kernel)
196
197 drive_sys.init_param = options.init_param
198 root = makeDualRoot(True, test_sys, drive_sys, options.etherdump)
199elif len(bm) == 1:
200 root = Root(full_system=True, system=test_sys)
201else:
202 print "Error I don't know how to create more than 2 systems."
203 sys.exit(1)
204
205if options.timesync:
206 root.time_sync_enable = True
207
208if options.frame_capture:
209 VncServer.frame_capture = True
210
211Simulation.run(options, root, test_sys, FutureClass)