|
gem5 [DEVELOP-FOR-25.0]
|
#include <faults.hh>
Public Member Functions | |
| IllegalInstFault (std::string r, const ExtMachInst inst) | |
| void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override |
Public Member Functions inherited from gem5::RiscvISA::InstFault | |
| InstFault (FaultName n, const ExtMachInst inst) | |
| RegVal | trap_value () const override |
Public Member Functions inherited from gem5::FaultBase | |
| virtual | ~FaultBase () |
Private Attributes | |
| const std::string | reason |
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::InstFault | |
| const ExtMachInst | _inst |
Protected Attributes inherited from gem5::RiscvISA::RiscvFault | |
| const FaultName | _name |
| const FaultType | _fault_type |
| ExceptionCode | _code |
|
inline |
Definition at line 252 of file faults.hh.
References gem5::RiscvISA::InstFault::InstFault(), gem5::RiscvISA::r, and reason.
|
overridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 224 of file faults.cc.
References gem5::ThreadContext::contextId(), gem5::RefCountingPtr< T >::get(), gem5::ThreadContext::getSystemPtr(), panic, gem5::ThreadContext::pcState(), reason, and gem5::System::trapToGdb().
|
private |
Definition at line 249 of file faults.hh.
Referenced by IllegalInstFault(), and invokeSE().