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

#include <stage2_lookup.hh>

Inheritance diagram for gem5::ArmISA::Stage2LookUp:
gem5::BaseMMU::Translation

Public Member Functions

 Stage2LookUp (TLB *s1Tlb, TLB *s2Tlb, TlbEntry s1Te, const RequestPtr &_req, BaseMMU::Translation *_transState, BaseMMU::Mode _mode, bool _timing, bool _functional, bool _secure, TLB::ArmTranslationType _tranType)
 
Fault getTe (ThreadContext *tc, TlbEntry *destTe)
 
void mergeTe (const RequestPtr &req, BaseMMU::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, BaseMMU::Mode mode)
 
- Public Member Functions inherited from gem5::BaseMMU::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
 
BaseMMU::TranslationtransState
 
BaseMMU::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 59 of file stage2_lookup.hh.

Constructor & Destructor Documentation

◆ Stage2LookUp()

gem5::ArmISA::Stage2LookUp::Stage2LookUp ( TLB s1Tlb,
TLB s2Tlb,
TlbEntry  s1Te,
const RequestPtr _req,
BaseMMU::Translation _transState,
BaseMMU::Mode  _mode,
bool  _timing,
bool  _functional,
bool  _secure,
TLB::ArmTranslationType  _tranType 
)
inline

Definition at line 79 of file stage2_lookup.hh.

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

Member Function Documentation

◆ finish()

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

◆ getTe()

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

◆ isComplete()

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

Definition at line 98 of file stage2_lookup.hh.

References complete.

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

◆ markDelayed()

void gem5::ArmISA::Stage2LookUp::markDelayed ( )
inlinevirtual

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

Implements gem5::BaseMMU::Translation.

Definition at line 100 of file stage2_lookup.hh.

◆ mergeTe()

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

◆ setSelfDelete()

void gem5::ArmISA::Stage2LookUp::setSelfDelete ( )
inline

Definition at line 96 of file stage2_lookup.hh.

References selfDelete.

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

Member Data Documentation

◆ complete

bool gem5::ArmISA::Stage2LookUp::complete
private

Definition at line 74 of file stage2_lookup.hh.

Referenced by isComplete(), and mergeTe().

◆ fault

Fault gem5::ArmISA::Stage2LookUp::fault
private

Definition at line 73 of file stage2_lookup.hh.

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

◆ functional

bool gem5::ArmISA::Stage2LookUp::functional
private

Definition at line 69 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ mode

BaseMMU::Mode gem5::ArmISA::Stage2LookUp::mode
private

Definition at line 67 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ req

RequestPtr gem5::ArmISA::Stage2LookUp::req
private

Definition at line 72 of file stage2_lookup.hh.

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

◆ s1Req

RequestPtr gem5::ArmISA::Stage2LookUp::s1Req
private

Definition at line 65 of file stage2_lookup.hh.

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

◆ secure

bool gem5::ArmISA::Stage2LookUp::secure
private

Definition at line 76 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ selfDelete

bool gem5::ArmISA::Stage2LookUp::selfDelete
private

Definition at line 75 of file stage2_lookup.hh.

Referenced by finish(), and setSelfDelete().

◆ stage1Te

TlbEntry gem5::ArmISA::Stage2LookUp::stage1Te
private

Definition at line 64 of file stage2_lookup.hh.

Referenced by getTe(), and mergeTe().

◆ stage1Tlb

TLB* gem5::ArmISA::Stage2LookUp::stage1Tlb
private

Definition at line 62 of file stage2_lookup.hh.

Referenced by finish().

◆ stage2Te

TlbEntry* gem5::ArmISA::Stage2LookUp::stage2Te
private

Definition at line 71 of file stage2_lookup.hh.

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

◆ stage2Tlb

TLB* gem5::ArmISA::Stage2LookUp::stage2Tlb
private

Definition at line 63 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ timing

bool gem5::ArmISA::Stage2LookUp::timing
private

Definition at line 68 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ transState

BaseMMU::Translation* gem5::ArmISA::Stage2LookUp::transState
private

Definition at line 66 of file stage2_lookup.hh.

Referenced by finish().

◆ tranType

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

Definition at line 70 of file stage2_lookup.hh.

Referenced by finish(), and getTe().


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

Generated on Tue Sep 21 2021 12:28:40 for gem5 by doxygen 1.8.17