1# Copyright (c) 2016-2017 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 --- 247 unchanged lines hidden (view full) --- 256 # Create a KVM VM and do KVM-specific configuration 257 if issubclass(big_model, KvmCluster): 258 _build_kvm(system, all_cpus) 259 260 # Linux device tree 261 if options.dtb is not None: 262 system.dtb_filename = SysPaths.binary(options.dtb) 263 else: |
264 system.generateDtb(m5.options.outdir, 'system.dtb') |
265 |
266 return root 267 268def _build_kvm(system, cpus): 269 system.kvm_vm = KvmVM() 270 271 # Assign KVM CPUs to their own event queues / threads. This 272 # has to be done after creating caches and other child objects 273 # since these mustn't inherit the CPU event queue. --- 65 unchanged lines hidden --- |