SConscript (10857:d2d5212578db) SConscript (10859:0ba6f47025d1)
1# -*- mode:python -*-
2
3# Copyright (c) 2012 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

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

39
40Import('*')
41
42if env['USE_KVM']:
43 SimObject('KvmVM.py')
44 SimObject('BaseKvmCPU.py')
45
46 Source('base.cc')
1# -*- mode:python -*-
2
3# Copyright (c) 2012 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

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

39
40Import('*')
41
42if env['USE_KVM']:
43 SimObject('KvmVM.py')
44 SimObject('BaseKvmCPU.py')
45
46 Source('base.cc')
47 Source('device.cc')
47 Source('vm.cc')
48 Source('perfevent.cc')
49 Source('timer.cc')
50
51 if env['TARGET_ISA'] == 'x86':
52 SimObject('X86KvmCPU.py')
53 Source('x86_cpu.cc')
54
55 DebugFlag('Kvm', 'Basic KVM Functionality')
56 DebugFlag('KvmContext', 'KVM/gem5 context synchronization')
57 DebugFlag('KvmIO', 'KVM MMIO diagnostics')
58 DebugFlag('KvmInt', 'KVM Interrupt handling')
59 DebugFlag('KvmRun', 'KvmRun entry/exit diagnostics')
60 DebugFlag('KvmTimer', 'KVM timing')
61
62 CompoundFlag('KvmAll', [ 'Kvm', 'KvmContext', 'KvmRun',
63 'KvmIO', 'KvmInt', 'KvmTimer' ],
64 'All KVM debug flags')
48 Source('vm.cc')
49 Source('perfevent.cc')
50 Source('timer.cc')
51
52 if env['TARGET_ISA'] == 'x86':
53 SimObject('X86KvmCPU.py')
54 Source('x86_cpu.cc')
55
56 DebugFlag('Kvm', 'Basic KVM Functionality')
57 DebugFlag('KvmContext', 'KVM/gem5 context synchronization')
58 DebugFlag('KvmIO', 'KVM MMIO diagnostics')
59 DebugFlag('KvmInt', 'KVM Interrupt handling')
60 DebugFlag('KvmRun', 'KvmRun entry/exit diagnostics')
61 DebugFlag('KvmTimer', 'KVM timing')
62
63 CompoundFlag('KvmAll', [ 'Kvm', 'KvmContext', 'KvmRun',
64 'KvmIO', 'KvmInt', 'KvmTimer' ],
65 'All KVM debug flags')