gem5
|
#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... | |
|
inlinevirtual |
|
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 ArmISA::TLB::testTranslation().
|
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 ArmISA::TLB::testWalk().