fs.py (8723:bbcc7afd82cb) | fs.py (8801:1a84c6a81299) |
---|---|
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 --- 184 unchanged lines hidden (view full) --- 193 drive_sys.cpu = DriveCPUClass(cpu_id=0) 194 drive_sys.cpu.connectAllPorts(drive_sys.membus) 195 if options.fastmem: 196 drive_sys.cpu.physmem_port = drive_sys.physmem.port 197 if options.kernel is not None: 198 drive_sys.kernel = binary(options.kernel) 199 200 drive_sys.init_param = options.init_param | 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 --- 184 unchanged lines hidden (view full) --- 193 drive_sys.cpu = DriveCPUClass(cpu_id=0) 194 drive_sys.cpu.connectAllPorts(drive_sys.membus) 195 if options.fastmem: 196 drive_sys.cpu.physmem_port = drive_sys.physmem.port 197 if options.kernel is not None: 198 drive_sys.kernel = binary(options.kernel) 199 200 drive_sys.init_param = options.init_param |
201 root = makeDualRoot(test_sys, drive_sys, options.etherdump) | 201 root = makeDualRoot(True, test_sys, drive_sys, options.etherdump) |
202elif len(bm) == 1: | 202elif len(bm) == 1: |
203 root = Root(system=test_sys) | 203 root = Root(full_system=True, system=test_sys) |
204else: 205 print "Error I don't know how to create more than 2 systems." 206 sys.exit(1) 207 208if options.timesync: 209 root.time_sync_enable = True 210 211if options.frame_capture: 212 VncServer.frame_capture = True 213 214Simulation.run(options, root, test_sys, FutureClass) | 204else: 205 print "Error I don't know how to create more than 2 systems." 206 sys.exit(1) 207 208if options.timesync: 209 root.time_sync_enable = True 210 211if options.frame_capture: 212 VncServer.frame_capture = True 213 214Simulation.run(options, root, test_sys, FutureClass) |