gem5
v20.1.0.0
|
#include <self_debug.hh>
Public Member Functions | |
VectorCatch (bool _vcmatch, SelfDebug *s) | |
bool | addressMatching (ThreadContext *tc, Addr addr, ExceptionLevel el) |
bool | exceptionTrapping (ThreadContext *tc, ExceptionLevel el, ArmFault *fault) |
bool | isVCMatch () const |
Private Member Functions | |
std::vector< Fault * > | vectorTypes () |
Addr | getVectorBase (ThreadContext *tc, bool monitor) |
Private Attributes | |
bool | vcmatch |
SelfDebug * | conf |
Definition at line 238 of file self_debug.hh.
|
inline |
Definition at line 246 of file self_debug.hh.
bool VectorCatch::addressMatching | ( | ThreadContext * | tc, |
Addr | addr, | ||
ExceptionLevel | el | ||
) |
Definition at line 748 of file self_debug.cc.
References addr, bits(), ArmISA::debugTargetFrom(), ArmISA::el, ArmISA::EL1, ArmISA::EL2, ArmISA::EL3, ArmISA::ELIs32(), Stats::enabled(), ArmSystem::haveEL(), ArmISA::isSecure(), ArmISA::mask, ArmISA::MISCREG_DBGVCR, and ThreadContext::readMiscReg().
bool VectorCatch::exceptionTrapping | ( | ThreadContext * | tc, |
ExceptionLevel | el, | ||
ArmFault * | fault | ||
) |
Definition at line 806 of file self_debug.cc.
References ArmISA::el, ArmISA::EL1, ArmISA::EL2, ArmISA::EL3, ArmISA::ELIs32(), ArmISA::ArmFault::getToMode(), ArmSystem::haveEL(), ArmISA::isSecure(), ArmISA::mask, ArmISA::MISCREG_DBGVCR, ArmISA::MODE_MON, ThreadContext::readMiscReg(), and ArmISA::ArmFault::vectorCatchFlag().
|
inlineprivate |
Definition at line 257 of file self_debug.hh.
References ArmISA::MISCREG_MVBAR, ArmISA::MISCREG_SCTLR_EL1, ArmISA::MISCREG_VBAR, and ThreadContext::readMiscReg().
|
inline |
Definition at line 253 of file self_debug.hh.
References vcmatch.
Referenced by ArmISA::ArmFault::vectorCatch().
|
private |
|
private |
Definition at line 242 of file self_debug.hh.
|
private |
Definition at line 241 of file self_debug.hh.
Referenced by isVCMatch().