gem5  v22.1.0.0
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 (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. 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

MMUmmu
 
TlbEntry stage1Te
 
RequestPtr s1Req
 
BaseMMU::TranslationtransState
 
BaseMMU::Mode mode
 
bool timing
 
bool functional
 
MMU::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 ( MMU _mmu,
TlbEntry  s1_te,
const RequestPtr _req,
MMU::Translation _transState,
BaseMMU::Mode  _mode,
bool  _timing,
bool  _functional,
bool  _secure,
MMU::ArmTranslationType  _tranType 
)
inline

Definition at line 78 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 97 of file stage2_lookup.hh.

References complete.

Referenced by gem5::ArmISA::MMU::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 99 of file stage2_lookup.hh.

◆ mergeTe()

void gem5::Stage2LookUp::mergeTe ( BaseMMU::Mode  mode)

◆ setSelfDelete()

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

Definition at line 95 of file stage2_lookup.hh.

References selfDelete.

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

Member Data Documentation

◆ complete

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

Definition at line 73 of file stage2_lookup.hh.

Referenced by isComplete(), and mergeTe().

◆ fault

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

Definition at line 72 of file stage2_lookup.hh.

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

◆ functional

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

Definition at line 68 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ mmu

MMU* gem5::ArmISA::Stage2LookUp::mmu
private

Definition at line 62 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ mode

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

Definition at line 66 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ req

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

Definition at line 71 of file stage2_lookup.hh.

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

◆ s1Req

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

Definition at line 64 of file stage2_lookup.hh.

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

◆ secure

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

Definition at line 75 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ selfDelete

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

Definition at line 74 of file stage2_lookup.hh.

Referenced by finish(), and setSelfDelete().

◆ stage1Te

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

Definition at line 63 of file stage2_lookup.hh.

Referenced by getTe(), and mergeTe().

◆ stage2Te

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

Definition at line 70 of file stage2_lookup.hh.

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

◆ timing

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

Definition at line 67 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

◆ transState

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

Definition at line 65 of file stage2_lookup.hh.

Referenced by finish().

◆ tranType

MMU::ArmTranslationType gem5::ArmISA::Stage2LookUp::tranType
private

Definition at line 69 of file stage2_lookup.hh.

Referenced by finish(), and getTe().


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

Generated on Wed Dec 21 2022 10:23:36 for gem5 by doxygen 1.9.1