gem5
v21.0.0.0
|
#include <self_debug.hh>
Public Member Functions | |
SoftwareStep (SelfDebug *s) | |
bool | debugExceptionReturnSS (ThreadContext *tc, CPSR spsr, ExceptionLevel dest) |
bool | advanceSS (ThreadContext *tc) |
void | setLdx () |
void | clearLdx () |
bool | getLdx () const |
Private Attributes | |
bool | bSS |
int | stateSS |
SelfDebug * | conf |
bool | steppedLdx |
bool | prevSteppedLdx |
bool | cpsrD |
Static Private Attributes | |
static const uint8_t | INACTIVE_STATE = 0 |
static const uint8_t | ACTIVE_PENDING_STATE = 1 |
static const uint8_t | ACTIVE_NOT_PENDING_STATE = 2 |
Friends | |
class | SelfDebug |
Definition at line 191 of file self_debug.hh.
|
inline |
Definition at line 208 of file self_debug.hh.
bool SoftwareStep::advanceSS | ( | ThreadContext * | tc | ) |
Definition at line 676 of file self_debug.cc.
References ACTIVE_NOT_PENDING_STATE, ACTIVE_PENDING_STATE, bSS, clearLdx(), cpsrD, INACTIVE_STATE, MipsISA::pc, ThreadContext::pcState(), and stateSS.
Referenced by ArmISA::SelfDebug::testDebug().
|
inline |
Definition at line 225 of file self_debug.hh.
References prevSteppedLdx, and steppedLdx.
Referenced by advanceSS().
bool SoftwareStep::debugExceptionReturnSS | ( | ThreadContext * | tc, |
CPSR | spsr, | ||
ExceptionLevel | dest | ||
) |
Definition at line 644 of file self_debug.cc.
References ACTIVE_NOT_PENDING_STATE, ACTIVE_PENDING_STATE, bSS, conf, ArmISA::debugTargetFrom(), ArmISA::EL3, ArmISA::ELIs32(), ArmISA::SelfDebug::isDebugEnabled(), ArmISA::SelfDebug::isDebugEnabledForEL32(), ArmISA::SelfDebug::isDebugEnabledForEL64(), ArmISA::isSecureBelowEL3(), and stateSS.
|
inline |
Definition at line 232 of file self_debug.hh.
References prevSteppedLdx.
|
inline |
Definition at line 218 of file self_debug.hh.
References prevSteppedLdx, and steppedLdx.
|
friend |
Definition at line 206 of file self_debug.hh.
|
staticprivate |
Definition at line 196 of file self_debug.hh.
Referenced by advanceSS(), and debugExceptionReturnSS().
|
staticprivate |
Definition at line 195 of file self_debug.hh.
Referenced by advanceSS(), and debugExceptionReturnSS().
|
private |
Definition at line 198 of file self_debug.hh.
Referenced by advanceSS(), debugExceptionReturnSS(), ArmISA::SelfDebug::enabled(), and ArmISA::SelfDebug::setMDSCRvals().
|
private |
Definition at line 200 of file self_debug.hh.
Referenced by debugExceptionReturnSS().
|
private |
Definition at line 203 of file self_debug.hh.
Referenced by advanceSS(), and ArmISA::SelfDebug::setDebugMask().
|
staticprivate |
Definition at line 194 of file self_debug.hh.
Referenced by advanceSS().
|
private |
Definition at line 202 of file self_debug.hh.
Referenced by clearLdx(), getLdx(), and setLdx().
|
private |
Definition at line 199 of file self_debug.hh.
Referenced by advanceSS(), and debugExceptionReturnSS().
|
private |
Definition at line 201 of file self_debug.hh.
Referenced by clearLdx(), and setLdx().