gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ArmISA::TlbTestInterface Class Referenceabstract

#include <tlb.hh>

Public Member Functions

 TlbTestInterface ()
 
virtual ~TlbTestInterface ()
 
virtual Fault translationCheck (RequestPtr req, bool is_priv, BaseTLB::Mode mode, TlbEntry::DomainType domain)=0
 Check if a TLB translation should be forced to fail. More...
 
virtual Fault walkCheck (Addr pa, Addr size, Addr va, bool is_secure, Addr is_priv, BaseTLB::Mode mode, TlbEntry::DomainType domain, LookupLevel lookup_level)=0
 Check if a page table walker access should be forced to fail. More...
 

Detailed Description

Definition at line 66 of file tlb.hh.

Constructor & Destructor Documentation

ArmISA::TlbTestInterface::TlbTestInterface ( )
inline

Definition at line 69 of file tlb.hh.

virtual ArmISA::TlbTestInterface::~TlbTestInterface ( )
inlinevirtual

Definition at line 70 of file tlb.hh.

Member Function Documentation

virtual Fault ArmISA::TlbTestInterface::translationCheck ( RequestPtr  req,
bool  is_priv,
BaseTLB::Mode  mode,
TlbEntry::DomainType  domain 
)
pure virtual

Check if a TLB translation should be forced to fail.

Parameters
reqRequest requiring a translation.
is_privAccess from a privileged mode (i.e., not EL0)
modeAccess type
domainDomain type

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

virtual Fault ArmISA::TlbTestInterface::walkCheck ( Addr  pa,
Addr  size,
Addr  va,
bool  is_secure,
Addr  is_priv,
BaseTLB::Mode  mode,
TlbEntry::DomainType  domain,
LookupLevel  lookup_level 
)
pure virtual

Check if a page table walker access should be forced to fail.

Parameters
paPhysical address the walker is accessing
sizeWalker access size
vaVirtual address that initiated the walk
is_secureAccess from secure state
is_privAccess from a privileged mode (i.e., not EL0)
modeAccess type
domainDomain type
lookup_levelPage table walker level

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


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

Generated on Fri Jun 9 2017 13:04:30 for gem5 by doxygen 1.8.6