diff options
Diffstat (limited to 'src/cpu/static_inst.hh')
-rw-r--r-- | src/cpu/static_inst.hh | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/src/cpu/static_inst.hh b/src/cpu/static_inst.hh index 375b7d0ba..c4dd3a6b5 100644 --- a/src/cpu/static_inst.hh +++ b/src/cpu/static_inst.hh @@ -50,19 +50,7 @@ // forward declarations class Packet; -struct O3CPUImpl; -template <class Impl> class BaseO3DynInst; -typedef BaseO3DynInst<O3CPUImpl> O3DynInst; -class InOrderDynInst; - -class CheckerCPU; -class AtomicSimpleCPU; -class TimingSimpleCPU; -class InorderCPU; -namespace Minor -{ - class ExecContext; -}; +class ExecContext; class SymbolTable; @@ -267,11 +255,25 @@ class StaticInst : public RefCounted, public StaticInstFlags public: virtual ~StaticInst(); -/** - * The execute() signatures are auto-generated by scons based on the - * set of CPU models we are compiling in today. - */ -#include "cpu/static_inst_exec_sigs.hh" + virtual Fault execute(ExecContext *xc, + Trace::InstRecord *traceData) const = 0; + virtual Fault eaComp(ExecContext *xc, + Trace::InstRecord *traceData) const + { + panic("eaComp not defined!"); + } + + virtual Fault initiateAcc(ExecContext *xc, + Trace::InstRecord *traceData) const + { + panic("initiateAcc not defined!"); + } + + virtual Fault completeAcc(Packet *pkt, ExecContext *xc, + Trace::InstRecord *traceData) const + { + panic("completeAcc not defined!"); + } virtual void advancePC(TheISA::PCState &pcState) const = 0; |