ARM: Implement WFE/WFI/SEV semantics.
[gem5.git] / src / sim / SConscript
index 46dc2c8ddd06691d5c65205d479c616d7762fe5a..b3065374bbf7d9bf52bde5596b0dcc223d452dae 100644 (file)
 
 Import('*')
 
+SimObject('BaseTLB.py')
+SimObject('Root.py')
+SimObject('InstTracer.py')
+
 Source('async.cc')
-Source('builder.cc')
 Source('core.cc')
 Source('debug.cc')
 Source('eventq.cc')
-Source('faults.cc')
-Source('main.cc')
-Source('param.cc')
+Source('init.cc')
+Source('main.cc', main=True, skip_lib=True)
 Source('root.cc')
 Source('serialize.cc')
 Source('sim_events.cc')
 Source('sim_object.cc')
 Source('simulate.cc')
-Source('startup.cc')
 Source('stat_control.cc')
-Source('system.cc')
 
-if env['FULL_SYSTEM']:
+if env['TARGET_ISA'] != 'no':
+    SimObject('System.py')
+    Source('faults.cc')
     Source('pseudo_inst.cc')
-else:
+    Source('system.cc')
+
+if env['FULL_SYSTEM']:
+    Source('arguments.cc')
+elif env['TARGET_ISA'] != 'no':
+    Source('tlb.cc')
+    SimObject('Process.py')
+
     Source('process.cc')
     Source('syscall_emul.cc')
+
+TraceFlag('Checkpoint')
+TraceFlag('Config')
+TraceFlag('Event')
+TraceFlag('Fault')
+TraceFlag('Flow')
+TraceFlag('IPI')
+TraceFlag('IPR')
+TraceFlag('Interrupt')
+TraceFlag('Loader')
+TraceFlag('Stack')
+TraceFlag('SyscallVerbose')
+TraceFlag('TimeSync')
+TraceFlag('TLB')
+TraceFlag('Thread')
+TraceFlag('Timer')
+TraceFlag('VtoPhys')
+TraceFlag('WorkItems')