gem5 v24.0.0.0
No Matches
gem5::RiscvISA::BreakpointFault Class Reference

#include <faults.hh>

Inheritance diagram for gem5::RiscvISA::BreakpointFault:
gem5::RiscvISA::RiscvFault gem5::FaultBase

Public Member Functions

 BreakpointFault (const PCStateBase &pc)
RegVal trap_value () const override
void invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override
- Public Member Functions inherited from gem5::FaultBase
virtual ~FaultBase ()

Private Attributes

const PCState pcState

Additional Inherited Members

- Protected Member Functions inherited from gem5::RiscvISA::RiscvFault
 RiscvFault (FaultName n, FaultType ft, ExceptionCode c)
FaultName name () const override
bool isInterrupt () const
bool isNonMaskableInterrupt () const
ExceptionCode exception () const
void invoke (ThreadContext *tc, const StaticInstPtr &inst) override
- Protected Attributes inherited from gem5::RiscvISA::RiscvFault
const FaultName _name
const FaultType _fault_type
ExceptionCode _code

Detailed Description

Definition at line 293 of file faults.hh.

Constructor & Destructor Documentation

◆ BreakpointFault()

gem5::RiscvISA::BreakpointFault::BreakpointFault ( const PCStateBase & pc)

Definition at line 299 of file faults.hh.

Member Function Documentation

◆ invokeSE()

void gem5::RiscvISA::BreakpointFault::invokeSE ( ThreadContext * tc,
const StaticInstPtr & inst )

◆ trap_value()

RegVal gem5::RiscvISA::BreakpointFault::trap_value ( ) const

Reimplemented from gem5::RiscvISA::RiscvFault.

Definition at line 304 of file faults.hh.

References gem5::GenericISA::PCStateWithNext::pc(), and pcState.

Member Data Documentation

◆ pcState

const PCState gem5::RiscvISA::BreakpointFault::pcState

Definition at line 296 of file faults.hh.

Referenced by trap_value().

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

Generated on Tue Jun 18 2024 16:24:21 for gem5 by doxygen 1.11.0