arch-arm,cpu: Introduce a getEMI virtual method on StaticInst.
[gem5.git] / src / sim / SConscript
1 # -*- mode:python -*-
2
3 # Copyright (c) 2006 The Regents of The University of Michigan
4 # All rights reserved.
5 #
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions are
8 # met: redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer;
10 # redistributions in binary form must reproduce the above copyright
11 # notice, this list of conditions and the following disclaimer in the
12 # documentation and/or other materials provided with the distribution;
13 # neither the name of the copyright holders nor the names of its
14 # contributors may be used to endorse or promote products derived from
15 # this software without specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29 Import('*')
30
31 SimObject('ClockedObject.py')
32 SimObject('TickedObject.py')
33 SimObject('Workload.py')
34 SimObject('Root.py')
35 SimObject('ClockDomain.py')
36 SimObject('VoltageDomain.py')
37 SimObject('System.py')
38 SimObject('DVFSHandler.py')
39 SimObject('SubSystem.py')
40 SimObject('RedirectPath.py')
41 SimObject('PowerState.py')
42 SimObject('PowerDomain.py')
43
44 Source('async.cc')
45 Source('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
46 Source('core.cc')
47 Source('cur_tick.cc')
48 Source('tags.cc')
49 Source('cxx_config.cc')
50 Source('cxx_manager.cc')
51 Source('cxx_config_ini.cc')
52 Source('debug.cc')
53 Source('py_interact.cc', add_tags='python')
54 Source('eventq.cc')
55 Source('futex_map.cc')
56 Source('global_event.cc')
57 Source('init.cc', add_tags='python')
58 Source('init_signals.cc')
59 Source('main.cc', tags='main')
60 Source('kernel_workload.cc')
61 Source('port.cc')
62 Source('python.cc', add_tags='python')
63 Source('redirect_path.cc')
64 Source('root.cc')
65 Source('serialize.cc')
66 Source('drain.cc')
67 Source('se_workload.cc')
68 Source('sim_events.cc')
69 Source('sim_object.cc')
70 Source('sub_system.cc')
71 Source('ticked_object.cc')
72 Source('simulate.cc')
73 Source('stat_control.cc')
74 Source('stat_register.cc', add_tags='python')
75 Source('clock_domain.cc')
76 Source('voltage_domain.cc')
77 Source('se_signal.cc')
78 Source('linear_solver.cc')
79 Source('system.cc')
80 Source('dvfs_handler.cc')
81 Source('clocked_object.cc')
82 Source('mathexpr.cc')
83 Source('power_state.cc')
84 Source('power_domain.cc')
85 Source('stats.cc')
86
87 GTest('byteswap.test', 'byteswap.test.cc', '../base/types.cc')
88 GTest('guest_abi.test', 'guest_abi.test.cc')
89 GTest('proxy_ptr.test', 'proxy_ptr.test.cc')
90
91 if env['TARGET_ISA'] != 'null':
92 SimObject('InstTracer.py')
93 SimObject('Process.py')
94 Source('faults.cc')
95 Source('process.cc')
96 Source('fd_array.cc')
97 Source('fd_entry.cc')
98 Source('mem_state.cc')
99 Source('pseudo_inst.cc')
100 Source('syscall_emul.cc')
101 Source('syscall_desc.cc')
102 Source('vma.cc')
103
104 DebugFlag('Checkpoint')
105 DebugFlag('Config')
106 DebugFlag('CxxConfig')
107 DebugFlag('Drain')
108 DebugFlag('Event')
109 DebugFlag('Fault')
110 DebugFlag('Flow')
111 DebugFlag('IPI')
112 DebugFlag('IPR')
113 DebugFlag('Interrupt')
114 DebugFlag('Loader')
115 DebugFlag('PseudoInst')
116 DebugFlag('Stack')
117 DebugFlag('SyscallBase')
118 DebugFlag('SyscallVerbose')
119 DebugFlag('TimeSync')
120 DebugFlag('Thread')
121 DebugFlag('Timer')
122 DebugFlag('VtoPhys')
123 DebugFlag('WorkItems')
124 DebugFlag('ClockDomain')
125 DebugFlag('VoltageDomain')
126 DebugFlag('DVFS')
127 DebugFlag('Vma')
128 DebugFlag('PowerDomain')
129
130 CompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])