|
gem5 [DEVELOP-FOR-25.0]
|
#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 | ~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 |
| bool | isResumableNonMaskableInterrupt (ISA *isa) const |
| ExceptionCode | exception () const |
| virtual RegVal | trap_value () const |
| 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 319 of file faults.hh.
References gem5::RiscvISA::RiscvFault::_code, gem5::RiscvISA::ECALL_MACHINE, gem5::RiscvISA::ECALL_SUPER, gem5::RiscvISA::ECALL_USER, gem5::RiscvISA::OTHERS, panic, gem5::RiscvISA::PRV_M, gem5::RiscvISA::PRV_S, gem5::RiscvISA::PRV_U, and gem5::RiscvISA::RiscvFault::RiscvFault().
|
overridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 255 of file faults.cc.
References gem5::StaticInst::advancePC(), gem5::PCStateBase::as(), gem5::ThreadContext::getSystemPtr(), gem5::ThreadContext::pcState(), gem5::Workload::syscall(), and gem5::System::workload.