Import('*')
+SimObject('BaseTLB.py')
SimObject('Root.py')
-SimObject('System.py')
SimObject('InstTracer.py')
Source('async.cc')
Source('core.cc')
Source('debug.cc')
Source('eventq.cc')
-Source('faults.cc')
-Source('main.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')