gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
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, DomainType domain)=0
 Check if a TLB translation should be forced to fail.
 
virtual Fault walkCheck (const RequestPtr &walk_req, Addr va, bool is_secure, Addr is_priv, BaseMMU::Mode mode, DomainType domain, enums::ArmLookupLevel lookup_level)=0
 Check if a page table walker access should be forced to fail.
 

Detailed Description

Definition at line 67 of file tlb.hh.

Constructor & Destructor Documentation

◆ TlbTestInterface()

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

Definition at line 70 of file tlb.hh.

◆ ~TlbTestInterface()

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

Definition at line 71 of file tlb.hh.

Member Function Documentation

◆ translationCheck()

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

References gem5::ArmISA::domain, and gem5::ArmISA::mode.

◆ walkCheck()

virtual Fault gem5::ArmISA::TlbTestInterface::walkCheck ( const RequestPtr & walk_req,
Addr va,
bool is_secure,
Addr is_priv,
BaseMMU::Mode mode,
DomainType domain,
enums::ArmLookupLevel lookup_level )
pure virtual

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

Parameters
reqwalk request bearing a valid phys address
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

References gem5::ArmISA::domain, gem5::ArmISA::mode, and gem5::ArmISA::va.


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

Generated on Mon May 26 2025 09:19:30 for gem5 by doxygen 1.13.2