fs.py (11670:6ce719503eae) | fs.py (11682:612f75cf36a0) |
---|---|
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('../') | 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('../') |
53addToPath('../common') | |
54 55from ruby import Ruby 56 | 53 54from ruby import Ruby 55 |
57from FSConfig import * 58from SysPaths import * 59from Benchmarks import * 60import Simulation 61import CacheConfig 62import MemConfig 63from Caches import * 64import Options | 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 |
65 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) --- 298 unchanged lines hidden --- | 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 --- |