gem5  v21.1.0.2
Public Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
gem5::ArmISA::SoftwareStep Class Reference

#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
 
SelfDebugconf
 
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
 

Detailed Description

Definition at line 195 of file self_debug.hh.

Constructor & Destructor Documentation

◆ SoftwareStep()

gem5::ArmISA::SoftwareStep::SoftwareStep ( SelfDebug s)
inline

Definition at line 212 of file self_debug.hh.

Member Function Documentation

◆ advanceSS()

bool gem5::SoftwareStep::advanceSS ( ThreadContext tc)

◆ clearLdx()

void gem5::ArmISA::SoftwareStep::clearLdx ( )
inline

Definition at line 229 of file self_debug.hh.

References prevSteppedLdx, and steppedLdx.

Referenced by advanceSS().

◆ debugExceptionReturnSS()

bool gem5::SoftwareStep::debugExceptionReturnSS ( ThreadContext tc,
CPSR  spsr,
ExceptionLevel  dest 
)

◆ getLdx()

bool gem5::ArmISA::SoftwareStep::getLdx ( ) const
inline

Definition at line 236 of file self_debug.hh.

References prevSteppedLdx.

◆ setLdx()

void gem5::ArmISA::SoftwareStep::setLdx ( )
inline

Definition at line 222 of file self_debug.hh.

References prevSteppedLdx, and steppedLdx.

Friends And Related Function Documentation

◆ SelfDebug

friend class SelfDebug
friend

Definition at line 210 of file self_debug.hh.

Member Data Documentation

◆ ACTIVE_NOT_PENDING_STATE

const uint8_t gem5::ArmISA::SoftwareStep::ACTIVE_NOT_PENDING_STATE = 2
staticprivate

Definition at line 200 of file self_debug.hh.

Referenced by advanceSS(), and debugExceptionReturnSS().

◆ ACTIVE_PENDING_STATE

const uint8_t gem5::ArmISA::SoftwareStep::ACTIVE_PENDING_STATE = 1
staticprivate

Definition at line 199 of file self_debug.hh.

Referenced by advanceSS(), and debugExceptionReturnSS().

◆ bSS

bool gem5::ArmISA::SoftwareStep::bSS
private

◆ conf

SelfDebug* gem5::ArmISA::SoftwareStep::conf
private

Definition at line 204 of file self_debug.hh.

Referenced by debugExceptionReturnSS().

◆ cpsrD

bool gem5::ArmISA::SoftwareStep::cpsrD
private

Definition at line 207 of file self_debug.hh.

Referenced by advanceSS(), and gem5::ArmISA::SelfDebug::setDebugMask().

◆ INACTIVE_STATE

const uint8_t gem5::ArmISA::SoftwareStep::INACTIVE_STATE = 0
staticprivate

Definition at line 198 of file self_debug.hh.

Referenced by advanceSS().

◆ prevSteppedLdx

bool gem5::ArmISA::SoftwareStep::prevSteppedLdx
private

Definition at line 206 of file self_debug.hh.

Referenced by clearLdx(), getLdx(), and setLdx().

◆ stateSS

int gem5::ArmISA::SoftwareStep::stateSS
private

Definition at line 203 of file self_debug.hh.

Referenced by advanceSS(), and debugExceptionReturnSS().

◆ steppedLdx

bool gem5::ArmISA::SoftwareStep::steppedLdx
private

Definition at line 205 of file self_debug.hh.

Referenced by clearLdx(), and setLdx().


The documentation for this class was generated from the following files:

Generated on Tue Sep 21 2021 12:28:38 for gem5 by doxygen 1.8.17