#include <stage2_lookup.hh>
|
| Stage2LookUp (TLB *s1Tlb, TLB *s2Tlb, TlbEntry s1Te, const RequestPtr &_req, TLB::Translation *_transState, BaseTLB::Mode _mode, bool _timing, bool _functional, bool _secure, TLB::ArmTranslationType _tranType) |
|
Fault | getTe (ThreadContext *tc, TlbEntry *destTe) |
|
void | mergeTe (const RequestPtr &req, BaseTLB::Mode mode) |
|
void | setSelfDelete () |
|
bool | isComplete () const |
|
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) |
|
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...
|
|
Definition at line 55 of file stage2_lookup.hh.
◆ Stage2LookUp()
◆ finish()
Implements BaseTLB::Translation.
Definition at line 176 of file stage2_lookup.cc.
References fault, BaseTLB::Translation::finish(), functional, ArmISA::TLB::getTE(), mergeTe(), mode, NoFault, req, s1Req, secure, selfDelete, stage1Tlb, stage2Te, stage2Tlb, timing, ArmISA::TLB::translateComplete(), transState, and tranType.
◆ getTe()
Definition at line 54 of file stage2_lookup.cc.
References ArmISA::TLB::checkPermissions(), ArmISA::TLB::checkPermissions64(), ArmISA::EL2, ArmISA::ELIs64(), fault, functional, ArmISA::TLB::getTE(), mergeTe(), mode, NoFault, req, secure, stage1Te, stage2Te, stage2Tlb, timing, and tranType.
Referenced by ArmISA::TLB::getResultTe().
◆ isComplete()
bool ArmISA::Stage2LookUp::isComplete |
( |
| ) |
const |
|
inline |
◆ markDelayed()
void ArmISA::Stage2LookUp::markDelayed |
( |
| ) |
|
|
inlinevirtual |
◆ mergeTe()
Definition at line 79 of file stage2_lookup.cc.
References complete, ArmISA::TlbEntry::Device, fault, ArmISA::TlbEntry::innerAttrs, ArmISA::mask, ArmISA::TlbEntry::mtype, ArmISA::TlbEntry::N, NoFault, ArmISA::TlbEntry::nonCacheable, ArmISA::TlbEntry::Normal, ArmISA::TlbEntry::outerAttrs, ArmISA::TlbEntry::outerShareable, ArmISA::ArmFault::OVA, ArmISA::pa, ArmISA::TlbEntry::pfn, s1Req, ArmISA::TlbEntry::shareable, ArmISA::TlbEntry::size, stage1Te, stage2Te, ArmISA::TlbEntry::StronglyOrdered, ArmISA::TlbEntry::updateAttributes(), ArmISA::TlbEntry::vpn, and ArmISA::TlbEntry::xn.
Referenced by finish(), and getTe().
◆ setSelfDelete()
void ArmISA::Stage2LookUp::setSelfDelete |
( |
| ) |
|
|
inline |
◆ complete
bool ArmISA::Stage2LookUp::complete |
|
private |
◆ fault
Fault ArmISA::Stage2LookUp::fault |
|
private |
◆ functional
bool ArmISA::Stage2LookUp::functional |
|
private |
◆ mode
◆ req
◆ s1Req
◆ secure
bool ArmISA::Stage2LookUp::secure |
|
private |
◆ selfDelete
bool ArmISA::Stage2LookUp::selfDelete |
|
private |
◆ stage1Te
◆ stage1Tlb
TLB* ArmISA::Stage2LookUp::stage1Tlb |
|
private |
◆ stage2Te
TlbEntry* ArmISA::Stage2LookUp::stage2Te |
|
private |
◆ stage2Tlb
TLB* ArmISA::Stage2LookUp::stage2Tlb |
|
private |
◆ timing
bool ArmISA::Stage2LookUp::timing |
|
private |
◆ transState
◆ tranType
The documentation for this class was generated from the following files: