gem5 v24.0.0.0
Loading...
Searching...
No Matches
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::TimingSimpleCPU::FetchTranslation gem5::minor::Fetch1::FetchRequest gem5::minor::LSQ::LSQRequest gem5::o3::Fetch::FetchTranslation gem5::o3::LSQ::LSQRequest gem5::prefetch::Queued::DeferredPacket

Public Member Functions

virtual ~Translation ()
 
virtual void markDelayed ()=0
 Signal that the translation has been delayed due to a hw page table walk.
 
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.
 

Detailed Description

Definition at line 58 of file mmu.hh.

Constructor & Destructor Documentation

◆ ~Translation()

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

Definition at line 61 of file mmu.hh.

Member Function Documentation

◆ finish()

◆ markDelayed()

◆ 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::DataTranslation< ExecContextPtr >, and gem5::o3::LSQ::LSQRequest.

Definition at line 84 of file mmu.hh.

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


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

Generated on Tue Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0