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 --- 38 unchanged lines hidden (view full) --- 47import os 48 49import m5 50from m5.defines import buildEnv 51from m5.objects import * 52from m5.util import addToPath, fatal 53 54addToPath('../') |
55 56from ruby import Ruby 57 |
58from common import Options 59from common import Simulation 60from common import CacheConfig 61from common import CpuConfig 62from common import MemConfig 63from common.Caches import * 64from common.cpu2000 import * |
65 66# Check if KVM support has been enabled, we might need to do VM 67# configuration if that's the case. 68have_kvm_support = 'BaseKvmCPU' in globals() 69def is_kvm_cpu(cpu_class): 70 return have_kvm_support and cpu_class != None and \ 71 issubclass(cpu_class, BaseKvmCPU) 72 --- 215 unchanged lines hidden --- |