gem5 v24.0.0.0
|
#include <mmu.hh>
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. | |
|
inlinevirtual |
|
pure virtual |
Implemented in gem5::ArmISA::Stage2LookUp, gem5::ArmISA::TableWalker::Stage2Walk, gem5::DataTranslation< ExecContextPtr >, gem5::minor::Fetch1::FetchRequest, gem5::minor::LSQ::SingleDataRequest, gem5::minor::LSQ::SpecialDataRequest, gem5::minor::LSQ::SplitDataRequest, gem5::o3::Fetch::FetchTranslation, gem5::o3::LSQ::SingleDataRequest, gem5::o3::LSQ::SplitDataRequest, gem5::o3::LSQ::UnsquashableDirectRequest, gem5::prefetch::Queued::DeferredPacket, and gem5::TimingSimpleCPU::FetchTranslation.
Referenced by gem5::ArmISA::TableWalker::doL2DescriptorWrapper(), gem5::ArmISA::TableWalker::doLongDescriptorWrapper(), gem5::ArmISA::Stage2LookUp::finish(), gem5::RiscvISA::Walker::startWalkWrapper(), gem5::X86ISA::Walker::startWalkWrapper(), gem5::ArmISA::MMU::translateComplete(), gem5::Iris::TLB::translateTiming(), gem5::SparcISA::TLB::translateTiming(), and gem5::X86ISA::TLB::translateTiming().
|
pure virtual |
Signal that the translation has been delayed due to a hw page table walk.
Implemented in 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, and gem5::TimingSimpleCPU::FetchTranslation.
Referenced by gem5::ArmISA::MMU::translateComplete(), and gem5::X86ISA::TLB::translateTiming().
|
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().