#include <stage2_lookup.hh>
|
| Stage2LookUp (MMU *_mmu, TlbEntry s1_te, const RequestPtr &_req, MMU::Translation *_transState, BaseMMU::Mode _mode, bool _timing, bool _functional, bool _secure, MMU::ArmTranslationType _tranType) |
|
Fault | getTe (ThreadContext *tc, TlbEntry *destTe) |
|
void | mergeTe (BaseMMU::Mode mode) |
|
void | setSelfDelete () |
|
bool | isComplete () const |
|
void | markDelayed () |
| Signal that the translation has been delayed due to a hw page table walk.
|
|
void | finish (const Fault &fault, const RequestPtr &req, ThreadContext *tc, BaseMMU::Mode mode) |
|
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.
|
|
Definition at line 59 of file stage2_lookup.hh.
◆ Stage2LookUp()
◆ finish()
Implements gem5::BaseMMU::Translation.
Definition at line 180 of file stage2_lookup.cc.
References fault, gem5::BaseMMU::Translation::finish(), functional, gem5::ArmISA::MMU::getTE(), mergeTe(), mmu, mode, gem5::NoFault, req, s1Req, secure, selfDelete, stage2Te, timing, gem5::ArmISA::MMU::translateComplete(), transState, and tranType.
◆ getTe()
Definition at line 57 of file stage2_lookup.cc.
References gem5::ArmISA::MMU::checkPermissions(), gem5::ArmISA::MMU::checkPermissions64(), gem5::ArmISA::EL2, gem5::ArmISA::ELIs64(), fault, functional, gem5::ArmISA::MMU::getTE(), mergeTe(), mmu, mode, gem5::NoFault, req, secure, stage1Te, stage2Te, timing, and tranType.
Referenced by gem5::ArmISA::MMU::getResultTe().
◆ isComplete()
bool gem5::ArmISA::Stage2LookUp::isComplete |
( |
| ) |
const |
|
inline |
◆ markDelayed()
void gem5::ArmISA::Stage2LookUp::markDelayed |
( |
| ) |
|
|
inlinevirtual |
◆ mergeTe()
Definition at line 82 of file stage2_lookup.cc.
References complete, gem5::ArmISA::TlbEntry::Device, fault, gem5::ArmISA::TlbEntry::innerAttrs, gem5::ArmISA::mask, gem5::ArmISA::TlbEntry::mtype, gem5::ArmISA::TlbEntry::N, gem5::NoFault, gem5::ArmISA::TlbEntry::nonCacheable, gem5::ArmISA::TlbEntry::Normal, gem5::ArmISA::TlbEntry::outerAttrs, gem5::ArmISA::TlbEntry::outerShareable, gem5::ArmISA::ArmFault::OVA, gem5::ArmISA::pa, gem5::ArmISA::TlbEntry::pfn, s1Req, gem5::ArmISA::TlbEntry::shareable, gem5::ArmISA::TlbEntry::size, stage1Te, stage2Te, gem5::ArmISA::TlbEntry::StronglyOrdered, gem5::ArmISA::TlbEntry::updateAttributes(), gem5::ArmISA::TlbEntry::vpn, and gem5::ArmISA::TlbEntry::xn.
Referenced by finish(), and getTe().
◆ setSelfDelete()
void gem5::ArmISA::Stage2LookUp::setSelfDelete |
( |
| ) |
|
|
inline |
◆ complete
bool gem5::ArmISA::Stage2LookUp::complete |
|
private |
◆ fault
Fault gem5::ArmISA::Stage2LookUp::fault |
|
private |
◆ functional
bool gem5::ArmISA::Stage2LookUp::functional |
|
private |
◆ mmu
MMU* gem5::ArmISA::Stage2LookUp::mmu |
|
private |
◆ mode
◆ req
◆ s1Req
◆ secure
bool gem5::ArmISA::Stage2LookUp::secure |
|
private |
◆ selfDelete
bool gem5::ArmISA::Stage2LookUp::selfDelete |
|
private |
◆ stage1Te
TlbEntry gem5::ArmISA::Stage2LookUp::stage1Te |
|
private |
◆ stage2Te
TlbEntry* gem5::ArmISA::Stage2LookUp::stage2Te |
|
private |
◆ timing
bool gem5::ArmISA::Stage2LookUp::timing |
|
private |
◆ transState
◆ tranType
The documentation for this class was generated from the following files: