Go to the documentation of this file.
41 #ifndef __ARCH_GENERIC_TLB_HH__
42 #define __ARCH_GENERIC_TLB_HH__
84 virtual bool squashed()
const {
return false; }
94 Translation *translation,
Mode mode) = 0;
98 panic(
"Not implemented.\n");
142 #endif // __ARCH_GENERIC_TLB_HH__
virtual void finish(const Fault &fault, const RequestPtr &req, ThreadContext *tc, Mode mode)=0
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 takeOverFrom(BaseTLB *otlb)=0
Take over from an old tlb context.
virtual Fault translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode mode)=0
virtual void translateTiming(const RequestPtr &req, ThreadContext *tc, Translation *translation, Mode mode)=0
std::shared_ptr< Request > RequestPtr
void memInvalidate()
Invalidate the contents of memory buffers.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
std::shared_ptr< FaultBase > Fault
Ports are used to interface objects to each other.
virtual Fault translateFunctional(const RequestPtr &req, ThreadContext *tc, Mode mode)
virtual Port * getTableWalkerPort()
Get the table walker port if present.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
virtual void demapPage(Addr vaddr, uint64_t asn)=0
virtual void markDelayed()=0
Signal that the translation has been delayed due to a hw page table walk.
virtual Fault finalizePhysical(const RequestPtr &req, ThreadContext *tc, Mode mode) const =0
Do post-translation physical address finalization.
virtual void flushAll()=0
Remove all entries from the TLB.
#define panic(...)
This implements a cprintf based panic() function.
Abstract superclass for simulation objects.
Generated on Wed Sep 30 2020 14:01:59 for gem5 by doxygen 1.8.17