gem5 v24.1.0.1
|
#include <tlbi_op.hh>
Public Member Functions | |
TLBIALL (TranslationRegime _target_regime, SecurityState _ss, Attr _attr=Attr::None) | |
void | operator() (ThreadContext *tc) override |
bool | matchEntry (TlbEntry *entry, vmid_t curr_vmid) const override |
bool | stage2Flush () const override |
Return true if the TLBI op needs to flush stage2 entries, Defaulting to false in the TLBIOp abstract class. | |
![]() | |
TLBIOp (TranslationRegime _target_regime, SecurityState _ss, Attr _attr) | |
virtual | ~TLBIOp () |
void | broadcast (ThreadContext *tc) |
Broadcast the TLB Invalidate operation to all TLBs in the Arm system. | |
bool | match (TlbEntry *entry, vmid_t curr_vmid) const |
virtual bool | stage1Flush () const |
Return true if the TLBI op needs to flush stage1 entries, Defaulting to true in the TLBIOp abstract class. | |
Public Attributes | |
bool | el2Enabled |
ExceptionLevel | currentEL |
![]() | |
SecurityState | ss |
TranslationRegime | targetRegime |
Attr | attr |
Additional Inherited Members | |
![]() | |
enum class | Attr { None , ExcludeXS } |
TLB Invalidate All.
Definition at line 117 of file tlbi_op.hh.
|
inline |
Definition at line 120 of file tlbi_op.hh.
Implements gem5::ArmISA::TLBIOp.
Definition at line 70 of file tlbi_op.cc.
References el2Enabled, gem5::ArmISA::TLBIOp::ss, gem5::ArmISA::TLBIOp::targetRegime, and gem5::ArmISA::te.
Referenced by gem5::ArmISA::ITLBIALL::matchEntry(), and gem5::ArmISA::DTLBIALL::matchEntry().
|
overridevirtual |
Reimplemented from gem5::ArmISA::TLBIOp.
Definition at line 55 of file tlbi_op.cc.
References gem5::ArmISA::currEL(), currentEL, el2Enabled, gem5::ArmISA::EL2Enabled(), gem5::ArmISA::MMU::flush(), gem5::ThreadContext::getCheckerCpuPtr(), and gem5::ArmISA::getMMUPtr().
|
inlineoverridevirtual |
Return true if the TLBI op needs to flush stage2 entries, Defaulting to false in the TLBIOp abstract class.
Reimplemented from gem5::ArmISA::TLBIOp.
Definition at line 131 of file tlbi_op.hh.
References currentEL, and gem5::ArmISA::EL2.
ExceptionLevel gem5::ArmISA::TLBIALL::currentEL |
Definition at line 139 of file tlbi_op.hh.
Referenced by operator()(), and stage2Flush().
bool gem5::ArmISA::TLBIALL::el2Enabled |
Definition at line 138 of file tlbi_op.hh.
Referenced by matchEntry(), operator()(), gem5::ArmISA::ITLBIALL::operator()(), and gem5::ArmISA::DTLBIALL::operator()().