gem5
[DEVELOP-FOR-23.0]
|
#include <faults.hh>
Public Member Functions | |
SyscallFault (PrivilegeMode prv) | |
void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override |
![]() | |
virtual | ~FaultBase () |
Additional Inherited Members | |
![]() | |
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 |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst) override |
![]() | |
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, gem5::RiscvISA::OTHERS, panic, gem5::RiscvISA::PRV_M, gem5::RiscvISA::PRV_S, and gem5::RiscvISA::PRV_U.
|
overridevirtual |
Reimplemented from gem5::RiscvISA::RiscvFault.
Definition at line 235 of file faults.cc.
References gem5::ThreadContext::getSystemPtr(), gem5::Workload::syscall(), and gem5::System::workload.