gem5  v21.1.0.2
Public Member Functions | List of all members
gem5::ArmISA::TlbTestInterface Class Referenceabstract

#include <tlb.hh>

Public Member Functions

 TlbTestInterface ()
 
virtual ~TlbTestInterface ()
 
virtual Fault translationCheck (const RequestPtr &req, bool is_priv, BaseMMU::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, BaseMMU::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 73 of file tlb.hh.

Constructor & Destructor Documentation

◆ TlbTestInterface()

gem5::ArmISA::TlbTestInterface::TlbTestInterface ( )
inline

Definition at line 76 of file tlb.hh.

◆ ~TlbTestInterface()

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

Definition at line 77 of file tlb.hh.

Member Function Documentation

◆ translationCheck()

virtual Fault gem5::ArmISA::TlbTestInterface::translationCheck ( const RequestPtr req,
bool  is_priv,
BaseMMU::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

◆ walkCheck()

virtual Fault gem5::ArmISA::TlbTestInterface::walkCheck ( Addr  pa,
Addr  size,
Addr  va,
bool  is_secure,
Addr  is_priv,
BaseMMU::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

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

Generated on Tue Sep 21 2021 12:28:45 for gem5 by doxygen 1.8.17