SPARC: Get rid of the setGlobals function.
[gem5.git] / src / arch / sparc / SConscript
index e342c79cf8795b7cb77647a5077c448ed196e755..940cf207697bd306d0b34078253644a7d9933f70 100644 (file)
@@ -37,15 +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']:
-        Source('arguments.cc')
-        Source('pagetable.cc')
+        SimObject('SparcSystem.py')
+        SimObject('SparcInterrupts.py')
+
+        Source('interrupts.cc')
         Source('stacktrace.cc')
         Source('system.cc')
-        Source('tlb.cc')
         Source('ua2005.cc')
         Source('vtophys.cc')
     else: