summaryrefslogtreecommitdiff
path: root/src/arch/power/isa.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power/isa.hh')
-rw-r--r--src/arch/power/isa.hh13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/arch/power/isa.hh b/src/arch/power/isa.hh
index 78ae18ea9..446f918f1 100644
--- a/src/arch/power/isa.hh
+++ b/src/arch/power/isa.hh
@@ -36,7 +36,9 @@
#include "arch/power/registers.hh"
#include "arch/power/types.hh"
#include "base/misc.hh"
+#include "sim/sim_object.hh"
+struct PowerISAParams;
class ThreadContext;
class Checkpoint;
class EventManager;
@@ -44,13 +46,15 @@ class EventManager;
namespace PowerISA
{
-class ISA
+class ISA : public SimObject
{
protected:
MiscReg dummy;
MiscReg miscRegs[NumMiscRegs];
public:
+ typedef PowerISAParams Params;
+
void
clear()
{
@@ -104,10 +108,9 @@ class ISA
{
}
- ISA()
- {
- clear();
- }
+ const Params *params() const;
+
+ ISA(Params *p);
};
} // namespace PowerISA