gem5
v20.1.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=StaticInst::nullStaticInstPtr) override |
Public Member Functions inherited from 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 49 of file debugfaults.hh.
|
inline |
Definition at line 65 of file debugfaults.hh.
|
inline |
Definition at line 68 of file debugfaults.hh.
|
inlineprotected |
Definition at line 55 of file debugfaults.hh.
References StaticInst::advancePC(), MipsISA::pc, and ThreadContext::pcState().
Referenced by invoke(), and GenericISA::M5DebugOnceFault< Flavor >::invoke().
|
protectedpure virtual |
Implemented in GenericISA::M5FatalFault, and GenericISA::M5PanicFault.
Referenced by invoke(), and GenericISA::M5DebugOnceFault< Flavor >::invoke().
|
inlineoverridevirtual |
Reimplemented from FaultBase.
Reimplemented in GenericISA::M5DebugOnceFault< Flavor >.
Definition at line 75 of file debugfaults.hh.
References advancePC(), and debugFunc().
|
inline |
Definition at line 72 of file debugfaults.hh.
References _message.
Referenced by GenericISA::M5PanicFault::debugFunc(), and GenericISA::M5FatalFault::debugFunc().
|
protected |
Definition at line 52 of file debugfaults.hh.
Referenced by message().