|
gem5 v23.0.0.1
|
#include <faults.hh>
Public Member Functions | |
| SyscallFault (PrivilegeMode prv) | |
| void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override |
Public Member Functions inherited from gem5::FaultBase | |
| virtual FaultName | name () const =0 |
| virtual void | invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) |
| virtual | ~FaultBase () |
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 |
| virtual RegVal | trap_value () const |
| virtual void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) |
| void | invoke (ThreadContext *tc, const StaticInstPtr &inst) override |
Protected Attributes inherited from gem5::RiscvISA::RiscvFault | |
| const FaultName | _name |
| const FaultType | _fault_type |
| ExceptionCode | _code |
|
inline |
Definition at line 262 of file faults.hh.
References gem5::RiscvISA::RiscvFault::_code, gem5::RiscvISA::ECALL_MACHINE, gem5::RiscvISA::ECALL_SUPER, gem5::RiscvISA::ECALL_USER, panic, gem5::RiscvISA::PRV_M, gem5::RiscvISA::PRV_S, and gem5::RiscvISA::PRV_U.
|
overridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 234 of file faults.cc.
References gem5::ThreadContext::getSystemPtr(), gem5::Workload::syscall(), and gem5::System::workload.