summaryrefslogtreecommitdiff
path: root/src/arch/sparc/isa.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/isa.hh')
-rw-r--r--src/arch/sparc/isa.hh14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/arch/sparc/isa.hh b/src/arch/sparc/isa.hh
index 713f01fa5..654cb3507 100644
--- a/src/arch/sparc/isa.hh
+++ b/src/arch/sparc/isa.hh
@@ -37,14 +37,16 @@
#include "arch/sparc/registers.hh"
#include "arch/sparc/types.hh"
#include "cpu/cpuevent.hh"
+#include "sim/sim_object.hh"
class Checkpoint;
class EventManager;
+struct SparcISAParams;
class ThreadContext;
namespace SparcISA
{
-class ISA
+class ISA : public SimObject
{
private:
@@ -200,14 +202,10 @@ class ISA
return reg;
}
- ISA()
- {
- tickCompare = NULL;
- sTickCompare = NULL;
- hSTickCompare = NULL;
+ typedef SparcISAParams Params;
+ const Params *params() const;
- clear();
- }
+ ISA(Params *p);
};
}