gem5  v20.1.0.0
Public Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
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 191 of file self_debug.hh.

Constructor & Destructor Documentation

◆ SoftwareStep()

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

Definition at line 208 of file self_debug.hh.

Member Function Documentation

◆ advanceSS()

bool SoftwareStep::advanceSS ( ThreadContext tc)

Definition at line 677 of file self_debug.cc.

References MipsISA::pc, and ThreadContext::pcState().

◆ clearLdx()

void ArmISA::SoftwareStep::clearLdx ( )
inline

Definition at line 225 of file self_debug.hh.

References prevSteppedLdx, and steppedLdx.

◆ debugExceptionReturnSS()

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

◆ getLdx()

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

Definition at line 232 of file self_debug.hh.

References prevSteppedLdx.

◆ setLdx()

void ArmISA::SoftwareStep::setLdx ( )
inline

Definition at line 218 of file self_debug.hh.

References prevSteppedLdx, and steppedLdx.

Friends And Related Function Documentation

◆ SelfDebug

friend class SelfDebug
friend

Definition at line 206 of file self_debug.hh.

Member Data Documentation

◆ ACTIVE_NOT_PENDING_STATE

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

Definition at line 196 of file self_debug.hh.

◆ ACTIVE_PENDING_STATE

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

Definition at line 195 of file self_debug.hh.

◆ bSS

bool ArmISA::SoftwareStep::bSS
private

Definition at line 198 of file self_debug.hh.

Referenced by ArmISA::SelfDebug::enabled(), and ArmISA::SelfDebug::setMDSCRvals().

◆ conf

SelfDebug* ArmISA::SoftwareStep::conf
private

Definition at line 200 of file self_debug.hh.

◆ cpsrD

bool ArmISA::SoftwareStep::cpsrD
private

Definition at line 203 of file self_debug.hh.

Referenced by ArmISA::SelfDebug::setDebugMask().

◆ INACTIVE_STATE

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

Definition at line 194 of file self_debug.hh.

◆ prevSteppedLdx

bool ArmISA::SoftwareStep::prevSteppedLdx
private

Definition at line 202 of file self_debug.hh.

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

◆ stateSS

int ArmISA::SoftwareStep::stateSS
private

Definition at line 199 of file self_debug.hh.

◆ steppedLdx

bool ArmISA::SoftwareStep::steppedLdx
private

Definition at line 201 of file self_debug.hh.

Referenced by clearLdx(), and setLdx().


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

Generated on Wed Sep 30 2020 14:02:37 for gem5 by doxygen 1.8.17