gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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, RequestPtr _req, TLB::Translation *_transState, BaseTLB::Mode _mode, bool _timing, bool _functional, TLB::ArmTranslationType _tranType)
 
Fault getTe (ThreadContext *tc, TlbEntry *destTe)
 
void mergeTe (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, 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
 
Request req
 
Fault fault
 
bool complete
 
bool selfDelete
 

Detailed Description

Definition at line 58 of file stage2_lookup.hh.

Constructor & Destructor Documentation

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

Member Function Documentation

void Stage2LookUp::finish ( const Fault fault,
RequestPtr  req,
ThreadContext tc,
BaseTLB::Mode  mode 
)
virtual
Fault Stage2LookUp::getTe ( ThreadContext tc,
TlbEntry destTe 
)
bool ArmISA::Stage2LookUp::isComplete ( ) const
inline

Definition at line 95 of file stage2_lookup.hh.

References complete.

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

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 97 of file stage2_lookup.hh.

void Stage2LookUp::mergeTe ( RequestPtr  req,
BaseTLB::Mode  mode 
)
void ArmISA::Stage2LookUp::setSelfDelete ( )
inline

Definition at line 93 of file stage2_lookup.hh.

References selfDelete.

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

Member Data Documentation

bool ArmISA::Stage2LookUp::complete
private

Definition at line 73 of file stage2_lookup.hh.

Referenced by isComplete(), and mergeTe().

Fault ArmISA::Stage2LookUp::fault
private

Definition at line 72 of file stage2_lookup.hh.

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

bool ArmISA::Stage2LookUp::functional
private

Definition at line 68 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

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

Definition at line 66 of file stage2_lookup.hh.

Referenced by getTe().

Request ArmISA::Stage2LookUp::req
private

Definition at line 71 of file stage2_lookup.hh.

Referenced by getTe(), and Stage2LookUp().

RequestPtr ArmISA::Stage2LookUp::s1Req
private

Definition at line 64 of file stage2_lookup.hh.

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

bool ArmISA::Stage2LookUp::selfDelete
private

Definition at line 74 of file stage2_lookup.hh.

Referenced by finish(), and setSelfDelete().

TlbEntry ArmISA::Stage2LookUp::stage1Te
private

Definition at line 63 of file stage2_lookup.hh.

Referenced by getTe(), and mergeTe().

TLB* ArmISA::Stage2LookUp::stage1Tlb
private

Definition at line 61 of file stage2_lookup.hh.

Referenced by finish().

TlbEntry* ArmISA::Stage2LookUp::stage2Te
private

Definition at line 70 of file stage2_lookup.hh.

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

TLB* ArmISA::Stage2LookUp::stage2Tlb
private

Definition at line 62 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

bool ArmISA::Stage2LookUp::timing
private

Definition at line 67 of file stage2_lookup.hh.

Referenced by finish(), and getTe().

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

Definition at line 65 of file stage2_lookup.hh.

Referenced by finish().

TLB::ArmTranslationType 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 Fri Jun 9 2017 13:04:29 for gem5 by doxygen 1.8.6