X86: Define a noop ExtMachInst.
[gem5.git] / src / arch / alpha / utility.hh
index 76c6c57261175c22025e3685657298864fade183..0b994d324b381b5f07aa559faf92fdca1e026f21 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "arch/alpha/types.hh"
 #include "arch/alpha/isa_traits.hh"
-#include "arch/alpha/regfile.hh"
+#include "arch/alpha/registers.hh"
 #include "base/misc.hh"
 #include "config/full_system.hh"
 #include "cpu/thread_context.hh"
@@ -111,10 +111,6 @@ makeRegisterCopy(int dest, int src)
     return 0;
 }
 
-// Machine operations
-void saveMachineReg(AnyReg &savereg, const RegFile &reg_file, int regnum);
-void restoreMachineReg(RegFile &regs, const AnyReg &reg, int regnum);
-
 /**
  * Function to insure ISA semantics about 0 registers.
  * @param tc The thread context.
@@ -163,6 +159,10 @@ template <class TC>
 void processInterrupts(TC *tc);
 #endif
 
+void copyRegs(ThreadContext *src, ThreadContext *dest);
+
+void copyMiscRegs(ThreadContext *src, ThreadContext *dest);
+
 } // namespace AlphaISA
 
 #endif // __ARCH_ALPHA_UTILITY_HH__