se.py (11670:6ce719503eae) se.py (11682:612f75cf36a0)
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('../')
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('../')
55addToPath('../common')
56
57from ruby import Ruby
58
55
56from ruby import Ruby
57
59import Options
60import Simulation
61import CacheConfig
62import CpuConfig
63import MemConfig
64from Caches import *
65from cpu2000 import *
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 *
66
67# Check if KVM support has been enabled, we might need to do VM
68# configuration if that's the case.
69have_kvm_support = 'BaseKvmCPU' in globals()
70def is_kvm_cpu(cpu_class):
71 return have_kvm_support and cpu_class != None and \
72 issubclass(cpu_class, BaseKvmCPU)
73

--- 215 unchanged lines hidden ---
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 ---