SPARC: Get rid of the setGlobals function.
[gem5.git] / src / arch / sparc / SConscript
index 0552c282b957b4d37588054569b2b4d5393d943f..940cf207697bd306d0b34078253644a7d9933f70 100644 (file)
@@ -37,18 +37,23 @@ if env['TARGET_ISA'] == 'sparc':
     Source('floatregfile.cc')
     Source('intregfile.cc')
     Source('miscregfile.cc')
+    Source('pagetable.cc')
     Source('regfile.cc')
     Source('remote_gdb.cc')
+    Source('tlb.cc')
     Source('utility.cc')
 
+    SimObject('SparcTLB.py')
+    TraceFlag('Sparc', "Generic SPARC ISA stuff")
+    TraceFlag('RegisterWindows', "Register window manipulation")
+
     if env['FULL_SYSTEM']:
         SimObject('SparcSystem.py')
-        SimObject('SparcTLB.py')
+        SimObject('SparcInterrupts.py')
 
-        Source('pagetable.cc')
+        Source('interrupts.cc')
         Source('stacktrace.cc')
         Source('system.cc')
-        Source('tlb.cc')
         Source('ua2005.cc')
         Source('vtophys.cc')
     else: