gem5 v24.0.0.0
|
#include <debugfaults.hh>
Public Member Functions | |
M5DebugFault (std::string _m) | |
template<class ... Args> | |
M5DebugFault (const std::string &format, const Args &...args) | |
std::string | message () |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) override |
Public Member Functions inherited from gem5::FaultBase | |
virtual FaultName | name () const =0 |
virtual | ~FaultBase () |
Protected Member Functions | |
virtual void | debugFunc ()=0 |
void | advancePC (ThreadContext *tc, const StaticInstPtr &inst) |
Protected Attributes | |
std::string | _message |
Definition at line 55 of file debugfaults.hh.
|
inline |
Definition at line 71 of file debugfaults.hh.
|
inline |
Definition at line 74 of file debugfaults.hh.
|
inlineprotected |
Definition at line 61 of file debugfaults.hh.
References gem5::StaticInst::advancePC(), gem5::PCStateBase::clone(), gem5::MipsISA::pc, and gem5::ThreadContext::pcState().
Referenced by invoke(), and gem5::GenericISA::M5DebugOnceFault< Flavor >::invoke().
|
protectedpure virtual |
Implemented in gem5::GenericISA::M5FatalFault, and gem5::GenericISA::M5PanicFault.
Referenced by invoke(), and gem5::GenericISA::M5DebugOnceFault< Flavor >::invoke().
|
inlineoverridevirtual |
Reimplemented from gem5::FaultBase.
Reimplemented in gem5::GenericISA::M5DebugOnceFault< Flavor >.
Definition at line 81 of file debugfaults.hh.
References advancePC(), and debugFunc().
|
inline |
Definition at line 78 of file debugfaults.hh.
References _message.
Referenced by gem5::GenericISA::M5FatalFault::debugFunc(), and gem5::GenericISA::M5PanicFault::debugFunc().
|
protected |
Definition at line 58 of file debugfaults.hh.
Referenced by message().