35 #ifndef __ARCH_MIPS_TLB_HH__
36 #define __ARCH_MIPS_TLB_HH__
47 #include "params/MipsTLB.hh"
101 panic(
"demapPage unimplemented.\n");
117 Translation *translation,
Mode mode);
134 #endif // __MIPS_MEMORY_HH__
MipsISA::PTE & index(bool advance=true)
void serialize(CheckpointOut &cp) const override
Serialize an object.
MipsISA::PTE * lookup(Addr vpn, uint8_t asn) const
Declaration of a request, the overall memory request consisting of the parts of the request that are ...
void flushAll() override
Remove all entries from the TLB.
MipsISA::PTE * getEntry(unsigned) const
void regStats() override
Register statistics for this object.
std::multimap< Addr, int > PageTable
ThreadContext is the external interface to all thread state for anything outside of the CPU...
Declaration of Statistics objects.
This is a simple scalar statistic, like a counter.
void demapPage(Addr vaddr, uint64_t asn) override
int probeEntry(Addr vpn, uint8_t) const
Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode)
Stats::Scalar write_misses
static bool validVirtualAddress(Addr vaddr)
Fault translateData(RequestPtr req, ThreadContext *tc, bool write)
Fault translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode)
Function stub for CheckerCPU compilation issues.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Stats::Scalar read_misses
std::ostream CheckpointOut
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Stats::Scalar read_accesses
static Fault checkCacheability(RequestPtr &req)
Fault translateInst(RequestPtr req, ThreadContext *tc)
void insertAt(MipsISA::PTE &pte, unsigned Index, int _smallPages)
Fault finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const
void translateTiming(RequestPtr req, ThreadContext *tc, Translation *translation, Mode mode)
Stats::Scalar write_accesses
std::shared_ptr< FaultBase > Fault
void insert(Addr vaddr, MipsISA::PTE &pte)
void takeOverFrom(BaseTLB *otlb) override
Take over from an old tlb context.