gem5
v20.1.0.0
|
#include <faults.hh>
Public Member Functions | |
SyscallFault (PrivilegeMode prv) | |
void | invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override |
Public Member Functions inherited from FaultBase | |
virtual | ~FaultBase () |
Additional Inherited Members | |
Protected Member Functions inherited from RiscvISA::RiscvFault | |
RiscvFault (FaultName n, bool i, ExceptionCode c) | |
FaultName | name () const override |
bool | isInterrupt () const |
ExceptionCode | exception () const |
virtual RegVal | trap_value () const |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst) override |
Protected Attributes inherited from RiscvISA::RiscvFault | |
const FaultName | _name |
const bool | _interrupt |
ExceptionCode | _code |
|
inline |
Definition at line 226 of file faults.hh.
References RiscvISA::RiscvFault::_code, RiscvISA::ECALL_MACHINE, RiscvISA::ECALL_SUPER, RiscvISA::ECALL_USER, panic, RiscvISA::PRV_M, RiscvISA::PRV_S, and RiscvISA::PRV_U.
|
overridevirtual |
Reimplemented from RiscvISA::RiscvFault.
Definition at line 195 of file faults.cc.
References ThreadContext::syscall().