gem5 v24.0.0.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 |
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 |
|
overridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 209 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 241 of file faults.hh.
Referenced by invokeSE().