|
gem5 [DEVELOP-FOR-25.0]
|
#include <faults.hh>
Public Member Functions | |
| InstFault (FaultName n, const ExtMachInst inst) | |
| RegVal | trap_value () const override |
Public Member Functions inherited from gem5::FaultBase | |
| virtual | ~FaultBase () |
Protected Attributes | |
| const ExtMachInst | _inst |
Protected Attributes inherited from gem5::RiscvISA::RiscvFault | |
| const FaultName | _name |
| const FaultType | _fault_type |
| ExceptionCode | _code |
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 |
| virtual void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) |
| void | invoke (ThreadContext *tc, const StaticInstPtr &inst) override |
|
inline |
Definition at line 229 of file faults.hh.
References _inst, gem5::RiscvISA::INST_ILLEGAL, gem5::ArmISA::n, gem5::RiscvISA::OTHERS, and gem5::RiscvISA::RiscvFault::RiscvFault().
Referenced by gem5::RiscvISA::IllegalFrmFault::IllegalFrmFault(), gem5::RiscvISA::IllegalInstFault::IllegalInstFault(), gem5::RiscvISA::UnimplementedFault::UnimplementedFault(), and gem5::RiscvISA::UnknownInstFault::UnknownInstFault().
|
inlineoverridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 233 of file faults.hh.
References _inst.
|
protected |
Definition at line 226 of file faults.hh.
Referenced by InstFault(), and trap_value().