gem5  v21.1.0.2
Public Member Functions | List of all members
gem5::BaseMMU::Translation Class Referenceabstract

#include <mmu.hh>

Inheritance diagram for gem5::BaseMMU::Translation:
gem5::ArmISA::Stage2LookUp gem5::ArmISA::TableWalker::Stage2Walk gem5::DataTranslation< ExecContextPtr > gem5::minor::Fetch1::FetchRequest gem5::minor::LSQ::LSQRequest gem5::o3::Fetch::FetchTranslation gem5::o3::LSQ::LSQRequest gem5::prefetch::Queued::DeferredPacket gem5::TimingSimpleCPU::FetchTranslation

Public Member Functions

virtual ~Translation ()
 
virtual void markDelayed ()=0
 Signal that the translation has been delayed due to a hw page table walk. More...
 
virtual void finish (const Fault &fault, const RequestPtr &req, ThreadContext *tc, BaseMMU::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 request or if the underlying request has been squashed. More...
 

Detailed Description

Definition at line 55 of file mmu.hh.

Constructor & Destructor Documentation

◆ ~Translation()

virtual gem5::BaseMMU::Translation::~Translation ( )
inlinevirtual

Definition at line 58 of file mmu.hh.

Member Function Documentation

◆ finish()

virtual void gem5::BaseMMU::Translation::finish ( const Fault fault,
const RequestPtr req,
ThreadContext tc,
BaseMMU::Mode  mode 
)
pure virtual

◆ markDelayed()

virtual void gem5::BaseMMU::Translation::markDelayed ( )
pure virtual

◆ squashed()

virtual bool gem5::BaseMMU::Translation::squashed ( ) const
inlinevirtual

This function is used by the page table walker to determine if it should translate the a pending request or if the underlying request has been squashed.

@ return Is the instruction that requested this translation squashed?

Reimplemented in gem5::o3::LSQ::LSQRequest, and gem5::DataTranslation< ExecContextPtr >.

Definition at line 81 of file mmu.hh.

Referenced by gem5::ArmISA::TableWalker::processWalkWrapper(), gem5::X86ISA::Walker::startWalkWrapper(), and gem5::RiscvISA::Walker::startWalkWrapper().


The documentation for this class was generated from the following file:

Generated on Tue Sep 21 2021 12:27:19 for gem5 by doxygen 1.8.17