gem5
[DEVELOP-FOR-23.0]
|
#include <tlbi_op.hh>
Public Member Functions | |
TLBIALL (ExceptionLevel _targetEL, bool _secure) | |
void | operator() (ThreadContext *tc) override |
bool | match (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. More... | |
TLBIALL | makeStage2 () const |
![]() | |
TLBIOp (ExceptionLevel _targetEL, bool _secure) | |
virtual | ~TLBIOp () |
void | broadcast (ThreadContext *tc) |
Broadcast the TLB Invalidate operation to all TLBs in the Arm system. More... | |
virtual bool | stage1Flush () const |
Return true if the TLBI op needs to flush stage1 entries, Defaulting to true in the TLBIOp abstract class. More... | |
Public Attributes | |
bool | inHost |
bool | el2Enabled |
ExceptionLevel | currentEL |
![]() | |
bool | secureLookup |
ExceptionLevel | targetEL |
TLB Invalidate All.
Definition at line 108 of file tlbi_op.hh.
|
inline |
Definition at line 111 of file tlbi_op.hh.
Referenced by makeStage2().
|
inline |
Definition at line 129 of file tlbi_op.hh.
References gem5::ArmISA::EL1, gem5::ArmISA::TLBIOp::secureLookup, and TLBIALL().
Implements gem5::ArmISA::TLBIOp.
Reimplemented in gem5::ArmISA::DTLBIALL, and gem5::ArmISA::ITLBIALL.
Definition at line 66 of file tlbi_op.cc.
References el2Enabled, inHost, gem5::ArmISA::TLBIOp::secureLookup, gem5::ArmISA::TLBIOp::targetEL, and gem5::ArmISA::te.
Referenced by gem5::ArmISA::ITLBIALL::match(), and gem5::ArmISA::DTLBIALL::match().
|
overridevirtual |
Reimplemented from gem5::ArmISA::TLBIOp.
Reimplemented in gem5::ArmISA::DTLBIALL, and gem5::ArmISA::ITLBIALL.
Definition at line 49 of file tlbi_op.cc.
References gem5::ArmISA::currEL(), currentEL, el2Enabled, gem5::ArmISA::EL2Enabled(), gem5::ArmISA::MMU::flush(), gem5::ThreadContext::getCheckerCpuPtr(), gem5::ArmISA::getMMUPtr(), inHost, gem5::ArmISA::MISCREG_HCR_EL2, and gem5::ThreadContext::readMiscReg().
|
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 121 of file tlbi_op.hh.
References currentEL, and gem5::ArmISA::EL2.
ExceptionLevel gem5::ArmISA::TLBIALL::currentEL |
Definition at line 136 of file tlbi_op.hh.
Referenced by operator()(), and stage2Flush().
bool gem5::ArmISA::TLBIALL::el2Enabled |
Definition at line 135 of file tlbi_op.hh.
Referenced by match(), operator()(), gem5::ArmISA::ITLBIALL::operator()(), and gem5::ArmISA::DTLBIALL::operator()().
bool gem5::ArmISA::TLBIALL::inHost |
Definition at line 134 of file tlbi_op.hh.
Referenced by match(), and operator()().