arm: Clean up and document decoder API
[gem5.git] / src / arch / mips / mmapped_ipr.hh
index 4c84d05f2c93f3da20372a50e4585583ecddf529..032fa28b22af8ca764c82e0009582be906fbfc9f 100644 (file)
  * ISA-specific helper functions for memory mapped IPR accesses.
  */
 
-#include "base/misc.hh"
-#include "mem/packet.hh"
+#include "arch/generic/mmapped_ipr.hh"
 
 class ThreadContext;
 
 namespace MipsISA
 {
-
-inline Cycles
-handleIprRead(ThreadContext *xc, Packet *pkt)
-{
-    panic("No implementation for handleIprRead in MIPS\n");
-}
-
-inline Cycles
-handleIprWrite(ThreadContext *xc, Packet *pkt)
-{
-    panic("No implementation for handleIprWrite in MIPS\n");
-}
-
+    using GenericISA::handleIprRead;
+    using GenericISA::handleIprWrite;
 } // namespace MipsISA
 
 #endif