gem5
v20.0.0.2
|
#include <tlb.hh>
Public Member Functions | |
TlbTestInterface () | |
virtual | ~TlbTestInterface () |
virtual Fault | translationCheck (const 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... | |
|
inlinevirtual |
Definition at line 68 of file tlb.hh.
References ArmISA::domain, ArmISA::mode, ArmISA::pa, translationCheck(), ArmISA::va, and walkCheck().
|
pure virtual |
Check if a TLB translation should be forced to fail.
req | Request requiring a translation. |
is_priv | Access from a privileged mode (i.e., not EL0) |
mode | Access type |
domain | Domain type |
Referenced by ~TlbTestInterface().
|
pure virtual |
Check if a page table walker access should be forced to fail.
pa | Physical address the walker is accessing |
size | Walker access size |
va | Virtual address that initiated the walk |
is_secure | Access from secure state |
is_priv | Access from a privileged mode (i.e., not EL0) |
mode | Access type |
domain | Domain type |
lookup_level | Page table walker level |
Referenced by ~TlbTestInterface().