fs.py (8894:351585c17699) | fs.py (8919:c1366a30d5eb) |
---|---|
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 --- 119 unchanged lines hidden (view full) --- 128if buildEnv['TARGET_ISA'] == "alpha": 129 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 130elif buildEnv['TARGET_ISA'] == "mips": 131 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0]) 132elif buildEnv['TARGET_ISA'] == "sparc": 133 test_sys = makeSparcSystem(test_mem_mode, bm[0]) 134elif buildEnv['TARGET_ISA'] == "x86": 135 test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0]) | 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 --- 119 unchanged lines hidden (view full) --- 128if buildEnv['TARGET_ISA'] == "alpha": 129 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0]) 130elif buildEnv['TARGET_ISA'] == "mips": 131 test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0]) 132elif buildEnv['TARGET_ISA'] == "sparc": 133 test_sys = makeSparcSystem(test_mem_mode, bm[0]) 134elif buildEnv['TARGET_ISA'] == "x86": 135 test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0]) |
136 setWorkCountOptions(test_sys, options) | 136 Simulation.setWorkCountOptions(test_sys, options) |
137elif buildEnv['TARGET_ISA'] == "arm": 138 test_sys = makeArmSystem(test_mem_mode, 139 options.machine_type, bm[0], 140 bare_metal=options.bare_metal) | 137elif buildEnv['TARGET_ISA'] == "arm": 138 test_sys = makeArmSystem(test_mem_mode, 139 options.machine_type, bm[0], 140 bare_metal=options.bare_metal) |
141 setWorkCountOptions(test_sys, options) | 141 Simulation.setWorkCountOptions(test_sys, options) |
142else: 143 fatal("incapable of building non-alpha or non-sparc full system!") 144 145if options.kernel is not None: 146 test_sys.kernel = binary(options.kernel) 147 148if options.script is not None: 149 test_sys.readfile = options.script --- 69 unchanged lines hidden --- | 142else: 143 fatal("incapable of building non-alpha or non-sparc full system!") 144 145if options.kernel is not None: 146 test_sys.kernel = binary(options.kernel) 147 148if options.script is not None: 149 test_sys.readfile = options.script --- 69 unchanged lines hidden --- |