30#ifndef __ARCH_MIPS_TLB_HH__
31#define __ARCH_MIPS_TLB_HH__
40#include "params/MipsTLB.hh"
85 panic(
"demapPage unimplemented.\n");
static Fault checkCacheability(const RequestPtr &req)
void unserialize(CheckpointIn &cp) override
Unserialize an object.
static bool validVirtualAddress(Addr vaddr)
MipsISA::PTE * getEntry(unsigned) const
void insertAt(MipsISA::PTE &pte, unsigned Index, int _smallPages)
MipsISA::PTE & index(bool advance=true)
void translateTiming(const RequestPtr &req, ThreadContext *tc, BaseMMU::Translation *translation, BaseMMU::Mode mode) override
void serialize(CheckpointOut &cp) const override
Serialize an object.
Fault translateFunctional(const RequestPtr &req, ThreadContext *tc, BaseMMU::Mode mode) override
void insert(Addr vaddr, MipsISA::PTE &pte)
Fault finalizePhysical(const RequestPtr &req, ThreadContext *tc, BaseMMU::Mode mode) const override
Do post-translation physical address finalization.
Fault translateAtomic(const RequestPtr &req, ThreadContext *tc, BaseMMU::Mode mode) override
int probeEntry(Addr vpn, uint8_t) const
void demapPage(Addr vaddr, uint64_t asn) override
std::multimap< Addr, int > PageTable
void takeOverFrom(BaseTLB *otlb) override
Take over from an old tlb context.
void flushAll() override
Remove all entries from the TLB.
MipsISA::PTE * lookup(Addr vpn, uint8_t asn) const
ThreadContext is the external interface to all thread state for anything outside of the CPU.
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::shared_ptr< FaultBase > Fault
std::shared_ptr< Request > RequestPtr
std::ostream CheckpointOut
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Declaration of a request, the overall memory request consisting of the parts of the request that are ...
Declaration of Statistics objects.