summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/isa.hh')
-rw-r--r--src/arch/x86/isa.hh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/arch/x86/isa.hh b/src/arch/x86/isa.hh
index 7b0c7b61a..39ed68ea5 100644
--- a/src/arch/x86/isa.hh
+++ b/src/arch/x86/isa.hh
@@ -38,14 +38,16 @@
#include "arch/x86/regs/misc.hh"
#include "arch/x86/registers.hh"
#include "base/types.hh"
+#include "sim/sim_object.hh"
class Checkpoint;
class EventManager;
class ThreadContext;
+struct X86ISAParams;
namespace X86ISA
{
- class ISA
+ class ISA : public SimObject
{
protected:
MiscReg regVal[NUM_MISCREGS];
@@ -54,12 +56,12 @@ namespace X86ISA
ThreadContext *tc);
public:
+ typedef X86ISAParams Params;
+
void clear();
- ISA()
- {
- clear();
- }
+ ISA(Params *p);
+ const Params *params() const;
MiscReg readMiscRegNoEffect(int miscReg);
MiscReg readMiscReg(int miscReg, ThreadContext *tc);