fs.py (9060:ee4104e628f3) fs.py (9061:135aa8f54bc4)
1# Copyright (c) 2010-2012 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

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

95if buildEnv['TARGET_ISA'] == "alpha":
96 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0])
97elif buildEnv['TARGET_ISA'] == "mips":
98 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0])
99elif buildEnv['TARGET_ISA'] == "sparc":
100 test_sys = makeSparcSystem(test_mem_mode, bm[0])
101elif buildEnv['TARGET_ISA'] == "x86":
102 test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0])
1# Copyright (c) 2010-2012 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

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

95if buildEnv['TARGET_ISA'] == "alpha":
96 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0])
97elif buildEnv['TARGET_ISA'] == "mips":
98 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0])
99elif buildEnv['TARGET_ISA'] == "sparc":
100 test_sys = makeSparcSystem(test_mem_mode, bm[0])
101elif buildEnv['TARGET_ISA'] == "x86":
102 test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0])
103 Simulation.setWorkCountOptions(test_sys, options)
104elif buildEnv['TARGET_ISA'] == "arm":
105 test_sys = makeArmSystem(test_mem_mode,
106 options.machine_type, bm[0],
107 bare_metal=options.bare_metal)
103elif buildEnv['TARGET_ISA'] == "arm":
104 test_sys = makeArmSystem(test_mem_mode,
105 options.machine_type, bm[0],
106 bare_metal=options.bare_metal)
108 Simulation.setWorkCountOptions(test_sys, options)
109else:
110 fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA'])
111
112if options.kernel is not None:
113 test_sys.kernel = binary(options.kernel)
114
115if options.script is not None:
116 test_sys.readfile = options.script

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

178 sys.exit(1)
179
180if options.timesync:
181 root.time_sync_enable = True
182
183if options.frame_capture:
184 VncServer.frame_capture = True
185
107else:
108 fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA'])
109
110if options.kernel is not None:
111 test_sys.kernel = binary(options.kernel)
112
113if options.script is not None:
114 test_sys.readfile = options.script

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

176 sys.exit(1)
177
178if options.timesync:
179 root.time_sync_enable = True
180
181if options.frame_capture:
182 VncServer.frame_capture = True
183
184Simulation.setWorkCountOptions(test_sys, options)
186Simulation.run(options, root, test_sys, FutureClass)
185Simulation.run(options, root, test_sys, FutureClass)