gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
ArmISA::Stage2MMU::Stage2Translation Class Reference

This translation class is used to trigger the data fetch once a timing translation returns the translated physical address. More...

#include <stage2_mmu.hh>

Inheritance diagram for ArmISA::Stage2MMU::Stage2Translation:
BaseTLB::Translation

Public Member Functions

 Stage2Translation (Stage2MMU &_parent, uint8_t *_data, Event *_event, Addr _oVAddr)
 
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)
 
void setVirt (Addr vaddr, int size, Request::Flags flags, int masterId)
 
Fault translateTiming (ThreadContext *tc)
 
- 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...
 

Public Attributes

Fault fault
 

Private Attributes

uint8_t * data
 
int numBytes
 
Request req
 
Eventevent
 
Stage2MMUparent
 
Addr oVAddr
 

Detailed Description

This translation class is used to trigger the data fetch once a timing translation returns the translated physical address.

Definition at line 70 of file stage2_mmu.hh.

Constructor & Destructor Documentation

Stage2MMU::Stage2Translation::Stage2Translation ( Stage2MMU _parent,
uint8_t *  _data,
Event _event,
Addr  _oVAddr 
)

Definition at line 112 of file stage2_mmu.cc.

Member Function Documentation

void Stage2MMU::Stage2Translation::finish ( const Fault fault,
RequestPtr  req,
ThreadContext tc,
BaseTLB::Mode  mode 
)
virtual
void ArmISA::Stage2MMU::Stage2Translation::markDelayed ( )
inlinevirtual

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

Implements BaseTLB::Translation.

Definition at line 87 of file stage2_mmu.hh.

void ArmISA::Stage2MMU::Stage2Translation::setVirt ( Addr  vaddr,
int  size,
Request::Flags  flags,
int  masterId 
)
inline

Definition at line 93 of file stage2_mmu.hh.

References numBytes, req, Request::setVirt(), and X86ISA::size().

Referenced by ArmISA::Stage2MMU::readDataTimed().

Fault ArmISA::Stage2MMU::Stage2Translation::translateTiming ( ThreadContext tc)
inline

Member Data Documentation

uint8_t* ArmISA::Stage2MMU::Stage2Translation::data
private

Definition at line 73 of file stage2_mmu.hh.

Event* ArmISA::Stage2MMU::Stage2Translation::event
private

Definition at line 76 of file stage2_mmu.hh.

Fault ArmISA::Stage2MMU::Stage2Translation::fault

Definition at line 81 of file stage2_mmu.hh.

Referenced by ArmISA::TableWalker::fetchDescriptor().

int ArmISA::Stage2MMU::Stage2Translation::numBytes
private

Definition at line 74 of file stage2_mmu.hh.

Referenced by setVirt().

Addr ArmISA::Stage2MMU::Stage2Translation::oVAddr
private

Definition at line 78 of file stage2_mmu.hh.

Stage2MMU& ArmISA::Stage2MMU::Stage2Translation::parent
private

Definition at line 77 of file stage2_mmu.hh.

Referenced by translateTiming().

Request ArmISA::Stage2MMU::Stage2Translation::req
private

Definition at line 75 of file stage2_mmu.hh.

Referenced by setVirt(), and translateTiming().


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