|
gem5 [DEVELOP-FOR-25.0]
|
#include <faults.hh>
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 |
| bool | isResumableNonMaskableInterrupt (ISA *isa) 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 |
|
inline |
Definition at line 307 of file faults.hh.
References gem5::ArmISA::as, gem5::RiscvISA::BREAKPOINT, gem5::RiscvISA::OTHERS, gem5::RiscvISA::pc, pcState, and gem5::RiscvISA::RiscvFault::RiscvFault().
|
overridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 247 of file faults.cc.
References gem5::ThreadContext::contextId(), gem5::ThreadContext::getSystemPtr(), gem5::schedRelBreak(), and gem5::System::trapToGdb().
|
inlineoverridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 312 of file faults.hh.
References pcState.
|
private |
Definition at line 304 of file faults.hh.
Referenced by BreakpointFault(), and trap_value().