32 #ifndef __ARCH_ALPHA_TLB_HH__
33 #define __ARCH_ALPHA_TLB_HH__
45 #include "params/AlphaTLB.hh"
104 assert(asn < (1 << 8));
146 Translation *translation,
Mode mode);
156 #endif // __ARCH_ALPHA_TLB_HH__
Stats::Formula fetch_accesses
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Declaration of a request, the overall memory request consisting of the parts of the request that are ...
Stats::Formula data_misses
std::vector< TlbEntry > table
TlbEntry & index(bool advance=true)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
Declaration of Statistics objects.
Stats::Scalar write_misses
This is a simple scalar statistic, like a counter.
Fault translateData(RequestPtr req, ThreadContext *tc, bool write)
Stats::Scalar fetch_misses
static Fault checkCacheability(RequestPtr &req, bool itb=false)
void flushAll() override
Remove all entries from the TLB.
void demapPage(Addr vaddr, uint64_t asn) override
void serialize(CheckpointOut &cp) const override
Serialize an object.
TlbEntry(Addr asn, Addr _vaddr, Addr _paddr, bool uncacheable, bool read_only)
Fault finalizePhysical(RequestPtr req, ThreadContext *tc, Mode mode) const
void takeOverFrom(BaseTLB *otlb) override
Take over from an old tlb context.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void translateTiming(RequestPtr req, ThreadContext *tc, Translation *translation, Mode mode)
TlbEntry * updateCache(TlbEntry *entry)
Stats::Scalar read_accesses
void flushAddr(Addr addr, uint8_t asn)
Stats::Scalar write_accesses
const Addr VAddrUnImplMask
std::multimap< Addr, int > PageTable
static bool validVirtualAddress(Addr vaddr)
std::ostream CheckpointOut
TlbEntry * lookup(Addr vpn, uint8_t asn)
Fault translateInst(RequestPtr req, ThreadContext *tc)
Stats::Scalar read_misses
void insert(Addr vaddr, TlbEntry &entry)
Stats::Formula data_accesses
Fault translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode)
translateFunctional stub function for future CheckerCPU support
std::shared_ptr< FaultBase > Fault
Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode)
void regStats() override
Register statistics for this object.