gem5
v20.1.0.0
|
This translation class is used to trigger the data fetch once a timing translation returns the translated physical address. More...
#include <stage2_mmu.hh>
Public Member Functions | |
Stage2Translation (Stage2MMU &_parent, uint8_t *_data, Event *_event, Addr _oVAddr) | |
void | markDelayed () |
Signal that the translation has been delayed due to a hw page table walk. More... | |
void | finish (const Fault &fault, const RequestPtr &req, ThreadContext *tc, BaseTLB::Mode mode) |
void | setVirt (Addr vaddr, int size, Request::Flags flags, int requestorId) |
void | translateTiming (ThreadContext *tc) |
Public Member Functions inherited from BaseTLB::Translation | |
virtual | ~Translation () |
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... | |
Public Attributes | |
Fault | fault |
Private Attributes | |
uint8_t * | data |
int | numBytes |
RequestPtr | req |
Event * | event |
Stage2MMU & | parent |
Addr | oVAddr |
This translation class is used to trigger the data fetch once a timing translation returns the translated physical address.
Definition at line 68 of file stage2_mmu.hh.
Stage2MMU::Stage2Translation::Stage2Translation | ( | Stage2MMU & | _parent, |
uint8_t * | _data, | ||
Event * | _event, | ||
Addr | _oVAddr | ||
) |
Definition at line 110 of file stage2_mmu.cc.
References req.
|
virtual |
Implements BaseTLB::Translation.
Definition at line 119 of file stage2_mmu.cc.
References ArmISA::ArmFault::annotate(), data, MipsISA::event, ThreadContext::getCpuPtr(), Request::NO_ACCESS, NoFault, ArmISA::ArmFault::OVA, MemCmd::ReadReq, and ArmISA::ArmFault::S1PTW.
|
inlinevirtual |
Signal that the translation has been delayed due to a hw page table walk.
Implements BaseTLB::Translation.
Definition at line 85 of file stage2_mmu.hh.
|
inline |
Definition at line 91 of file stage2_mmu.hh.
References numBytes, req, ArmISA::Stage2MMU::requestorId, and MipsISA::vaddr.
Referenced by ArmISA::Stage2MMU::readDataTimed().
|
inline |
Definition at line 98 of file stage2_mmu.hh.
References parent, BaseTLB::Read, req, ArmISA::Stage2MMU::stage2Tlb(), and ArmISA::TLB::translateTiming().
Referenced by ArmISA::Stage2MMU::readDataTimed().
|
private |
Definition at line 71 of file stage2_mmu.hh.
|
private |
Definition at line 74 of file stage2_mmu.hh.
Fault ArmISA::Stage2MMU::Stage2Translation::fault |
Definition at line 79 of file stage2_mmu.hh.
Referenced by ArmISA::TableWalker::fetchDescriptor().
|
private |
Definition at line 72 of file stage2_mmu.hh.
Referenced by setVirt().
|
private |
Definition at line 76 of file stage2_mmu.hh.
|
private |
Definition at line 75 of file stage2_mmu.hh.
Referenced by translateTiming().
|
private |
Definition at line 73 of file stage2_mmu.hh.
Referenced by setVirt(), Stage2Translation(), and translateTiming().