Deleted Added
sdiff udiff text old ( 11670:6ce719503eae ) new ( 11682:612f75cf36a0 )
full compact
1# Copyright (c) 2010-2013, 2016 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

--- 36 unchanged lines hidden (view full) ---

45import sys
46
47import m5
48from m5.defines import buildEnv
49from m5.objects import *
50from m5.util import addToPath, fatal
51
52addToPath('../')
53
54from ruby import Ruby
55
56from common.FSConfig import *
57from common.SysPaths import *
58from common.Benchmarks import *
59from common import Simulation
60from common import CacheConfig
61from common import MemConfig
62from common.Caches import *
63from common import Options
64
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)

--- 298 unchanged lines hidden ---