| 
    gem5
    
   | 
 
This translation class is used to trigger the data fetch once a timing translation returns the translated physical address. More...
#include <stage2_mmu.hh>
  
 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 | 
| Event * | event | 
| Stage2MMU & | parent | 
| Addr | oVAddr | 
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.
| Stage2MMU::Stage2Translation::Stage2Translation | ( | Stage2MMU & | _parent, | 
| uint8_t * | _data, | ||
| Event * | _event, | ||
| Addr | _oVAddr | ||
| ) | 
Definition at line 112 of file stage2_mmu.cc.
      
  | 
  virtual | 
Implements BaseTLB::Translation.
Definition at line 120 of file stage2_mmu.cc.
References ArmISA::ArmFault::annotate(), data, MipsISA::event, ThreadContext::getCpuPtr(), Request::getFlags(), Request::getPaddr(), Flags< T >::isSet(), Request::NO_ACCESS, NoFault, ArmISA::ArmFault::OVA, MemCmd::ReadReq, and ArmISA::ArmFault::S1PTW.
      
  | 
  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.
      
  | 
  inline | 
Definition at line 93 of file stage2_mmu.hh.
References numBytes, req, Request::setVirt(), and X86ISA::size().
Referenced by ArmISA::Stage2MMU::readDataTimed().
      
  | 
  inline | 
Definition at line 99 of file stage2_mmu.hh.
References parent, BaseTLB::Read, req, ArmISA::Stage2MMU::stage2Tlb(), and ArmISA::TLB::translateTiming().
Referenced by ArmISA::Stage2MMU::readDataTimed().
      
  | 
  private | 
Definition at line 73 of file stage2_mmu.hh.
      
  | 
  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().
      
  | 
  private | 
Definition at line 74 of file stage2_mmu.hh.
Referenced by setVirt().
      
  | 
  private | 
Definition at line 78 of file stage2_mmu.hh.
      
  | 
  private | 
Definition at line 77 of file stage2_mmu.hh.
Referenced by translateTiming().
      
  | 
  private | 
Definition at line 75 of file stage2_mmu.hh.
Referenced by setVirt(), and translateTiming().