Go to the documentation of this file.
30 #ifndef __ARCH_MIPS_TLB_HH__
31 #define __ARCH_MIPS_TLB_HH__
41 #include "params/MipsTLB.hh"
83 panic(
"demapPage unimplemented.\n");
99 Translation *translation,
Mode mode)
override;
111 #endif // __MIPS_MEMORY_HH__
void takeOverFrom(BaseTLB *otlb) override
Take over from an old tlb context.
Fault translateFunctional(const RequestPtr &req, ThreadContext *tc, Mode mode) override
MipsISA::PTE & index(bool advance=true)
MipsISA::PTE * lookup(Addr vpn, uint8_t asn) const
void serialize(CheckpointOut &cp) const override
Serialize an object.
void translateTiming(const RequestPtr &req, ThreadContext *tc, Translation *translation, Mode mode) override
void flushAll() override
Remove all entries from the TLB.
std::shared_ptr< Request > RequestPtr
Fault translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode mode) override
MipsISA::PTE * getEntry(unsigned) const
std::multimap< Addr, int > PageTable
ThreadContext is the external interface to all thread state for anything outside of the CPU.
std::shared_ptr< FaultBase > Fault
void demapPage(Addr vaddr, uint64_t asn) override
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
static bool validVirtualAddress(Addr vaddr)
void unserialize(CheckpointIn &cp) override
Unserialize an object.
static Fault checkCacheability(const RequestPtr &req)
void insertAt(MipsISA::PTE &pte, unsigned Index, int _smallPages)
std::ostream CheckpointOut
int probeEntry(Addr vpn, uint8_t) const
void insert(Addr vaddr, MipsISA::PTE &pte)
Fault finalizePhysical(const RequestPtr &req, ThreadContext *tc, Mode mode) const override
Do post-translation physical address finalization.
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:01:59 for gem5 by doxygen 1.8.17