summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-10 23:47:42 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-10 23:47:42 -0700
commit8c5dfa453296c5a87a46c409f68e0ef50ebfceb6 (patch)
tree18d96ff626b3fbaf17e6da31f74be73f4ff805e9 /src/arch/sparc
parent3d1734ec29a0572a2c0fe403d737adbd9756c993 (diff)
downloadgem5-8c5dfa453296c5a87a46c409f68e0ef50ebfceb6.tar.xz
TLB: Make all tlbs derive from a common base class in both python and C++.
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/SparcTLB.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/sparc/SparcTLB.py b/src/arch/sparc/SparcTLB.py
index 20672a24e..6758d612a 100644
--- a/src/arch/sparc/SparcTLB.py
+++ b/src/arch/sparc/SparcTLB.py
@@ -28,7 +28,10 @@
from m5.SimObject import SimObject
from m5.params import *
-class SparcTLB(SimObject):
+
+from BaseTLB import BaseTLB
+
+class SparcTLB(BaseTLB):
type = 'SparcTLB'
abstract = True
size = Param.Int("TLB size")