Get rid of the Unallocated thread context state.
[gem5.git] / src / arch / sparc / SparcTLB.py
index 2d0257cd7a28ede628f2e8752eae6df99304756b..0c3fdc7fb6b2b23a9d2a47819ed1beff77567410 100644 (file)
 
 from m5.SimObject import SimObject
 from m5.params import *
-class SparcTLB(SimObject):
-    type = 'SparcTLB'
-    abstract = True
-    size = Param.Int("TLB size")
-
-class SparcDTB(SparcTLB):
-    type = 'SparcDTB'
-    cxx_namespace = 'SparcISA'
-    cxx_class = 'DTB'
 
-    size = 64
+from BaseTLB import BaseTLB
 
-class SparcITB(SparcTLB):
-    type = 'SparcITB'
-    cxx_namespace = 'SparcISA'
-    cxx_class = 'ITB'
-
-    size = 64
+class SparcTLB(BaseTLB):
+    type = 'SparcTLB'
+    cxx_class = 'SparcISA::TLB'
+    size = Param.Int(64, "TLB size")