fs.py (9789:233420718e61) | fs.py (9790:ccc428657233) |
---|---|
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 --- 106 unchanged lines hidden (view full) --- 115 options.num_cpus, bm[0]) 116elif buildEnv['TARGET_ISA'] == "arm": 117 test_sys = makeArmSystem(test_mem_mode, options.machine_type, 118 TestMemClass, bm[0], options.dtb_filename, 119 bare_metal=options.bare_metal) 120else: 121 fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA']) 122 | 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 --- 106 unchanged lines hidden (view full) --- 115 options.num_cpus, bm[0]) 116elif buildEnv['TARGET_ISA'] == "arm": 117 test_sys = makeArmSystem(test_mem_mode, options.machine_type, 118 TestMemClass, bm[0], options.dtb_filename, 119 bare_metal=options.bare_metal) 120else: 121 fatal("Incapable of building %s full system!", buildEnv['TARGET_ISA']) 122 |
123test_sys.clock = options.sys_clock 124 |
|
123if options.kernel is not None: 124 test_sys.kernel = binary(options.kernel) 125 126if options.script is not None: 127 test_sys.readfile = options.script 128 129test_sys.init_param = options.init_param 130 --- 36 unchanged lines hidden (view full) --- 167 elif buildEnv['TARGET_ISA'] == 'sparc': 168 drive_sys = makeSparcSystem(drive_mem_mode, DriveMemClass, bm[1]) 169 elif buildEnv['TARGET_ISA'] == 'x86': 170 drive_sys = makeX86System(drive_mem_mode, DriveMemClass, np, bm[1]) 171 elif buildEnv['TARGET_ISA'] == 'arm': 172 drive_sys = makeArmSystem(drive_mem_mode, options.machine_type, 173 DriveMemClass, bm[1]) 174 | 125if options.kernel is not None: 126 test_sys.kernel = binary(options.kernel) 127 128if options.script is not None: 129 test_sys.readfile = options.script 130 131test_sys.init_param = options.init_param 132 --- 36 unchanged lines hidden (view full) --- 169 elif buildEnv['TARGET_ISA'] == 'sparc': 170 drive_sys = makeSparcSystem(drive_mem_mode, DriveMemClass, bm[1]) 171 elif buildEnv['TARGET_ISA'] == 'x86': 172 drive_sys = makeX86System(drive_mem_mode, DriveMemClass, np, bm[1]) 173 elif buildEnv['TARGET_ISA'] == 'arm': 174 drive_sys = makeArmSystem(drive_mem_mode, options.machine_type, 175 DriveMemClass, bm[1]) 176 |
177 drive_sys.clock = options.sys_clock 178 |
|
175 drive_sys.cpu = DriveCPUClass(cpu_id=0) 176 drive_sys.cpu.createThreads() 177 drive_sys.cpu.createInterruptController() 178 drive_sys.cpu.connectAllPorts(drive_sys.membus) 179 if options.fastmem: 180 drive_sys.cpu.fastmem = True 181 if options.kernel is not None: 182 drive_sys.kernel = binary(options.kernel) --- 25 unchanged lines hidden --- | 179 drive_sys.cpu = DriveCPUClass(cpu_id=0) 180 drive_sys.cpu.createThreads() 181 drive_sys.cpu.createInterruptController() 182 drive_sys.cpu.connectAllPorts(drive_sys.membus) 183 if options.fastmem: 184 drive_sys.cpu.fastmem = True 185 if options.kernel is not None: 186 drive_sys.kernel = binary(options.kernel) --- 25 unchanged lines hidden --- |