se.py (11682:612f75cf36a0) se.py (11839:dd6df2e47c14)
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

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

204
205# All cpus belong to a common cpu_clk_domain, therefore running at a common
206# frequency.
207for cpu in system.cpu:
208 cpu.clk_domain = system.cpu_clk_domain
209
210if is_kvm_cpu(CPUClass) or is_kvm_cpu(FutureClass):
211 if buildEnv['TARGET_ISA'] == 'x86':
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

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

204
205# All cpus belong to a common cpu_clk_domain, therefore running at a common
206# frequency.
207for cpu in system.cpu:
208 cpu.clk_domain = system.cpu_clk_domain
209
210if is_kvm_cpu(CPUClass) or is_kvm_cpu(FutureClass):
211 if buildEnv['TARGET_ISA'] == 'x86':
212 system.vm = KvmVM()
212 system.kvm_vm = KvmVM()
213 for process in multiprocesses:
214 process.useArchPT = True
215 process.kvmInSE = True
216 else:
217 fatal("KvmCPU can only be used in SE mode with x86")
218
219# Sanity check
220if options.fastmem:

--- 67 unchanged lines hidden ---
213 for process in multiprocesses:
214 process.useArchPT = True
215 process.kvmInSE = True
216 else:
217 fatal("KvmCPU can only be used in SE mode with x86")
218
219# Sanity check
220if options.fastmem:

--- 67 unchanged lines hidden ---