1# Copyright (c) 2010-2013 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 --- 160 unchanged lines hidden (view full) --- 169 if options.checker: 170 test_sys.cpu[i].addCheckerCpu() 171 test_sys.cpu[i].createThreads() 172 173CacheConfig.config_cache(options, test_sys) 174 175# Create the appropriate memory controllers and connect them to the 176# memory bus |
177test_sys.mem_ctrls = [TestMemClass(range = r) for r in test_sys.mem_ranges] |
178for i in xrange(len(test_sys.mem_ctrls)): 179 test_sys.mem_ctrls[i].port = test_sys.membus.master 180 181if len(bm) == 2: 182 if buildEnv['TARGET_ISA'] == 'alpha': 183 drive_sys = makeLinuxAlphaSystem(drive_mem_mode, bm[1]) 184 elif buildEnv['TARGET_ISA'] == 'mips': 185 drive_sys = makeLinuxMipsSystem(drive_mem_mode, bm[1]) --- 33 unchanged lines hidden (view full) --- 219 220 drive_sys.iobridge = Bridge(delay='50ns', 221 ranges = drive_sys.mem_ranges) 222 drive_sys.iobridge.slave = drive_sys.iobus.master 223 drive_sys.iobridge.master = drive_sys.membus.slave 224 225 # Create the appropriate memory controllers and connect them to the 226 # memory bus |
227 drive_sys.mem_ctrls = [DriveMemClass(range = r) |
228 for r in drive_sys.mem_ranges] 229 for i in xrange(len(drive_sys.mem_ctrls)): 230 drive_sys.mem_ctrls[i].port = drive_sys.membus.master 231 232 drive_sys.init_param = options.init_param 233 root = makeDualRoot(True, test_sys, drive_sys, options.etherdump) 234elif len(bm) == 1: 235 root = Root(full_system=True, system=test_sys) --- 12 unchanged lines hidden --- |