gem5
[DEVELOP-FOR-23.0]
|
Implementaton of AArch64 TLBI VMALLE1(IS)/VMALLS112E1(IS) instructions. More...
#include <tlbi_op.hh>
Public Member Functions | |
TLBIVMALL (ExceptionLevel _targetEL, bool _secure, bool _stage2) | |
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... | |
TLBIVMALL | 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 |
bool | stage2 |
![]() | |
bool | secureLookup |
ExceptionLevel | targetEL |
Implementaton of AArch64 TLBI VMALLE1(IS)/VMALLS112E1(IS) instructions.
Definition at line 198 of file tlbi_op.hh.
|
inline |
Definition at line 201 of file tlbi_op.hh.
Referenced by makeStage2().
|
inline |
Definition at line 217 of file tlbi_op.hh.
References gem5::ArmISA::EL1, gem5::ArmISA::TLBIOp::secureLookup, and TLBIVMALL().
Implements gem5::ArmISA::TLBIOp.
Definition at line 137 of file tlbi_op.cc.
References el2Enabled, inHost, gem5::ArmISA::TLBIOp::secureLookup, stage2Flush(), gem5::ArmISA::TLBIOp::targetEL, and gem5::ArmISA::te.
|
overridevirtual |
Reimplemented from gem5::ArmISA::TLBIOp.
Definition at line 121 of file tlbi_op.cc.
References 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 211 of file tlbi_op.hh.
References stage2.
Referenced by match().
bool gem5::ArmISA::TLBIVMALL::el2Enabled |
Definition at line 223 of file tlbi_op.hh.
Referenced by match(), and operator()().
bool gem5::ArmISA::TLBIVMALL::inHost |
Definition at line 222 of file tlbi_op.hh.
Referenced by match(), and operator()().
bool gem5::ArmISA::TLBIVMALL::stage2 |
Definition at line 224 of file tlbi_op.hh.
Referenced by stage2Flush().