se.py (13432:6ce67b7e6e44) se.py (13684:076506a21535)
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

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

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

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

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

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

--- 48 unchanged lines hidden ---