|
gem5
v22.0.0.2
|
#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 195 of file self_debug.hh.
|
inline |
Definition at line 212 of file self_debug.hh.
| bool gem5::SoftwareStep::advanceSS | ( | ThreadContext * | tc | ) |
Definition at line 681 of file self_debug.cc.
References ACTIVE_NOT_PENDING_STATE, ACTIVE_PENDING_STATE, gem5::PCStateBase::as(), bSS, clearLdx(), cpsrD, INACTIVE_STATE, gem5::MipsISA::pc, gem5::ThreadContext::pcState(), and stateSS.
Referenced by gem5::ArmISA::SelfDebug::testDebug().
|
inline |
Definition at line 229 of file self_debug.hh.
References prevSteppedLdx, and steppedLdx.
Referenced by advanceSS().
| bool gem5::SoftwareStep::debugExceptionReturnSS | ( | ThreadContext * | tc, |
| CPSR | spsr, | ||
| ExceptionLevel | dest | ||
| ) |
Definition at line 649 of file self_debug.cc.
References ACTIVE_NOT_PENDING_STATE, ACTIVE_PENDING_STATE, bSS, conf, gem5::ArmISA::debugTargetFrom(), gem5::ArmISA::EL3, gem5::ArmISA::ELIs32(), gem5::ArmISA::SelfDebug::isDebugEnabled(), gem5::ArmISA::SelfDebug::isDebugEnabledForEL32(), gem5::ArmISA::SelfDebug::isDebugEnabledForEL64(), gem5::ArmISA::isSecureBelowEL3(), and stateSS.
|
inline |
Definition at line 236 of file self_debug.hh.
References prevSteppedLdx.
|
inline |
Definition at line 222 of file self_debug.hh.
References prevSteppedLdx, and steppedLdx.
|
friend |
Definition at line 210 of file self_debug.hh.
|
staticprivate |
Definition at line 200 of file self_debug.hh.
Referenced by advanceSS(), and debugExceptionReturnSS().
|
staticprivate |
Definition at line 199 of file self_debug.hh.
Referenced by advanceSS(), and debugExceptionReturnSS().
|
private |
Definition at line 202 of file self_debug.hh.
Referenced by advanceSS(), debugExceptionReturnSS(), gem5::ArmISA::SelfDebug::enabled(), and gem5::ArmISA::SelfDebug::setMDSCRvals().
|
private |
Definition at line 204 of file self_debug.hh.
Referenced by debugExceptionReturnSS().
|
private |
Definition at line 207 of file self_debug.hh.
Referenced by advanceSS(), and gem5::ArmISA::SelfDebug::setDebugMask().
|
staticprivate |
Definition at line 198 of file self_debug.hh.
Referenced by advanceSS().
|
private |
Definition at line 206 of file self_debug.hh.
Referenced by clearLdx(), getLdx(), and setLdx().
|
private |
Definition at line 203 of file self_debug.hh.
Referenced by advanceSS(), and debugExceptionReturnSS().
|
private |
Definition at line 205 of file self_debug.hh.
Referenced by clearLdx(), and setLdx().