#include "cpu/thread_context.hh"
#include "mem/page_table.hh"
+#include "sim/faults.hh"
#include "sim/process.hh"
#include "sim/tlb.hh"
Fault
-GenericTLB::translate(RequestPtr req, ThreadContext * tc, bool)
+GenericTLB::translateAtomic(RequestPtr req, ThreadContext *tc, Mode)
{
#if FULL_SYSTEM
panic("Generic translation shouldn't be used in full system mode.\n");
#endif
}
+void
+GenericTLB::translateTiming(RequestPtr req, ThreadContext *tc,
+ Translation *translation, Mode mode)
+{
+ assert(translation);
+ translation->finish(translateAtomic(req, tc, mode), req, tc, mode);
+}
+
void
GenericTLB::demapPage(Addr vaddr, uint64_t asn)
{