43 #ifndef __ARCH_GENERIC_TLB_HH__ 44 #define __ARCH_GENERIC_TLB_HH__ 86 virtual bool squashed()
const {
return false; }
100 panic(
"Not implemented.\n");
144 #endif // __ARCH_GENERIC_TLB_HH__ #define panic(...)
This implements a cprintf based panic() function.
virtual void flushAll()=0
Remove all entries from the TLB.
Ports are used to interface objects to each other.
Declaration of a request, the overall memory request consisting of the parts of the request that are ...
std::shared_ptr< Request > RequestPtr
virtual void markDelayed()=0
Signal that the translation has been delayed due to a hw page table walk.
ThreadContext is the external interface to all thread state for anything outside of the CPU...
void memInvalidate()
Invalidate the contents of memory buffers.
virtual bool squashed() const
This function is used by the page table walker to determine if it should translate the a pending requ...
virtual void translateTiming(const RequestPtr &req, ThreadContext *tc, Translation *translation, Mode mode)=0
virtual void finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc, Mode mode)=0
virtual void takeOverFrom(BaseTLB *otlb)=0
Take over from an old tlb context.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual Fault finalizePhysical(const RequestPtr &req, ThreadContext *tc, Mode mode) const =0
Do post-translation physical address finalization.
virtual Port * getTableWalkerPort()
Get the table walker port if present.
virtual void demapPage(Addr vaddr, uint64_t asn)=0
std::shared_ptr< FaultBase > Fault
Abstract superclass for simulation objects.
virtual Fault translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode mode)=0
virtual Fault translateFunctional(const RequestPtr &req, ThreadContext *tc, Mode mode)