1# Copyright (c) 2012-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 --- 226 unchanged lines hidden (view full) --- 235 236 if options.checker: 237 system.cpu[i].addCheckerCpu() 238 239 if options.bp_type: 240 bpClass = BPConfig.get(options.bp_type) 241 system.cpu[i].branchPred = bpClass() 242 |
243 if options.indirect_bp_type: 244 indirectBPClass = BPConfig.get_indirect(options.indirect_bp_type) 245 system.cpu[i].branchPred.indirectBranchPred = indirectBPClass() 246 |
247 system.cpu[i].createThreads() 248 249system.redirect_paths = redirect_paths(os.path.expanduser(options.chroot)) 250config_filesystem(options) 251 252if options.ruby: 253 Ruby.create_system(options, False, system) 254 assert(options.num_cpus == len(system.ruby._cpu_ports)) --- 29 unchanged lines hidden --- |