gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
ArmISA::Stage2LookUp Class Reference

#include <stage2_lookup.hh>

Inheritance diagram for ArmISA::Stage2LookUp:
BaseTLB::Translation

Public Member Functions

 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)
 
- 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...
 

Private Attributes

TLBstage1Tlb
 
TLBstage2Tlb
 
TlbEntry stage1Te
 
RequestPtr s1Req
 
TLB::TranslationtransState
 
BaseTLB::Mode mode
 
bool timing
 
bool functional
 
TLB::ArmTranslationType tranType
 
TlbEntrystage2Te
 
RequestPtr req
 
Fault fault
 
bool complete
 
bool selfDelete
 
bool secure
 

Detailed Description

Definition at line 55 of file stage2_lookup.hh.

Constructor & Destructor Documentation

◆ Stage2LookUp()

ArmISA::Stage2LookUp::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 
)
inline

Definition at line 75 of file stage2_lookup.hh.

References ArmISA::TlbEntry::pAddr(), req, and s1Req.

Member Function Documentation

◆ finish()

void Stage2LookUp::finish ( const Fault fault,
const RequestPtr req,
ThreadContext tc,
BaseTLB::Mode  mode 
)
virtual

◆ getTe()

Fault Stage2LookUp::getTe ( ThreadContext tc,
TlbEntry destTe 
)

◆ isComplete()

bool ArmISA::Stage2LookUp::isComplete ( ) const
inline

Definition at line 94 of file stage2_lookup.hh.

References complete.

Referenced by ArmISA::TLB::getResultTe().

◆ markDelayed()

void ArmISA::Stage2LookUp::markDelayed ( )
inlinevirtual

Signal that the translation has been delayed due to a hw page table walk.

Implements BaseTLB::Translation.

Definition at line 96 of file stage2_lookup.hh.

◆ mergeTe()

void Stage2LookUp::mergeTe ( const RequestPtr req,
BaseTLB::Mode  mode 
)

◆ setSelfDelete()

void ArmISA::Stage2LookUp::setSelfDelete ( )
inline

Definition at line 92 of file stage2_lookup.hh.

References selfDelete.

Referenced by ArmISA::TLB::getResultTe().

Member Data Documentation

◆ complete

bool ArmISA::Stage2LookUp::complete
private

Definition at line 70 of file stage2_lookup.hh.

Referenced by isComplete(), and mergeTe().

◆ fault

Fault ArmISA::Stage2LookUp::fault
private

Definition at line 69 of file stage2_lookup.hh.

Referenced by finish(), getTe(), and mergeTe().

◆ functional

bool ArmISA::Stage2LookUp::functional
private

Definition at line 65 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ mode

BaseTLB::Mode ArmISA::Stage2LookUp::mode
private

Definition at line 63 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ req

RequestPtr ArmISA::Stage2LookUp::req
private

Definition at line 68 of file stage2_lookup.hh.

Referenced by finish(), getTe(), and Stage2LookUp().

◆ s1Req

RequestPtr ArmISA::Stage2LookUp::s1Req
private

Definition at line 61 of file stage2_lookup.hh.

Referenced by finish(), mergeTe(), and Stage2LookUp().

◆ secure

bool ArmISA::Stage2LookUp::secure
private

Definition at line 72 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ selfDelete

bool ArmISA::Stage2LookUp::selfDelete
private

Definition at line 71 of file stage2_lookup.hh.

Referenced by finish(), and setSelfDelete().

◆ stage1Te

TlbEntry ArmISA::Stage2LookUp::stage1Te
private

Definition at line 60 of file stage2_lookup.hh.

Referenced by getTe(), and mergeTe().

◆ stage1Tlb

TLB* ArmISA::Stage2LookUp::stage1Tlb
private

Definition at line 58 of file stage2_lookup.hh.

Referenced by finish().

◆ stage2Te

TlbEntry* ArmISA::Stage2LookUp::stage2Te
private

Definition at line 67 of file stage2_lookup.hh.

Referenced by finish(), getTe(), and mergeTe().

◆ stage2Tlb

TLB* ArmISA::Stage2LookUp::stage2Tlb
private

Definition at line 59 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ timing

bool ArmISA::Stage2LookUp::timing
private

Definition at line 64 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ transState

TLB::Translation* ArmISA::Stage2LookUp::transState
private

Definition at line 62 of file stage2_lookup.hh.

Referenced by finish().

◆ tranType

TLB::ArmTranslationType ArmISA::Stage2LookUp::tranType
private

Definition at line 66 of file stage2_lookup.hh.

Referenced by finish(), and getTe().


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

Generated on Wed Sep 30 2020 14:02:37 for gem5 by doxygen 1.8.17