se.py (13012:5fbc6b9c64bc) se.py (13174:6d96125a657c)
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

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

209 for process in multiprocesses:
210 process.useArchPT = True
211 process.kvmInSE = True
212 else:
213 fatal("KvmCPU can only be used in SE mode with x86")
214
215# Sanity check
216if options.simpoint_profile:
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

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

209 for process in multiprocesses:
210 process.useArchPT = True
211 process.kvmInSE = True
212 else:
213 fatal("KvmCPU can only be used in SE mode with x86")
214
215# Sanity check
216if options.simpoint_profile:
217 if not CpuConfig.is_atomic_cpu(TestCPUClass):
217 if not CpuConfig.is_atomic_cpu(CPUClass):
218 fatal("SimPoint/BPProbe should be done with an atomic cpu")
219 if np > 1:
220 fatal("SimPoint generation not supported with more than one CPUs")
221
222for i in xrange(np):
223 if options.smt:
224 system.cpu[i].workload = multiprocesses
225 elif len(multiprocesses) == 1:

--- 44 unchanged lines hidden ---
218 fatal("SimPoint/BPProbe should be done with an atomic cpu")
219 if np > 1:
220 fatal("SimPoint generation not supported with more than one CPUs")
221
222for i in xrange(np):
223 if options.smt:
224 system.cpu[i].workload = multiprocesses
225 elif len(multiprocesses) == 1:

--- 44 unchanged lines hidden ---