fs.py (9788:5558ee8dd7d9) fs.py (9789:233420718e61)
1# Copyright (c) 2010-2012 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

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

76have_kvm_support = 'BaseKvmCPU' in globals()
77def is_kvm_cpu(cpu_class):
78 return have_kvm_support and cpu_class != None and \
79 issubclass(cpu_class, BaseKvmCPU)
80
81# system under test can be any CPU
82(TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options)
83
1# Copyright (c) 2010-2012 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

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

76have_kvm_support = 'BaseKvmCPU' in globals()
77def is_kvm_cpu(cpu_class):
78 return have_kvm_support and cpu_class != None and \
79 issubclass(cpu_class, BaseKvmCPU)
80
81# system under test can be any CPU
82(TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options)
83
84TestCPUClass.clock = options.clock
85DriveCPUClass.clock = options.clock
84TestCPUClass.clock = options.cpu_clock
85DriveCPUClass.clock = options.cpu_clock
86
87# Match the memories with the CPUs, the driver system always simple,
88# and based on the options for the test system
89DriveMemClass = SimpleMemory
90TestMemClass = Simulation.setMemClass(options)
91
92if options.benchmark:
93 try:

--- 114 unchanged lines hidden ---
86
87# Match the memories with the CPUs, the driver system always simple,
88# and based on the options for the test system
89DriveMemClass = SimpleMemory
90TestMemClass = Simulation.setMemClass(options)
91
92if options.benchmark:
93 try:

--- 114 unchanged lines hidden ---