gem5
|
#include <faults.hh>
Public Member Functions | |
SyscallFault () | |
void | invoke_se (ThreadContext *tc, const StaticInstPtr &inst) |
Additional Inherited Members | |
Protected Member Functions inherited from RiscvISA::RiscvFault | |
RiscvFault (FaultName n, ExceptionCode c, InterruptCode i) | |
FaultName | name () const |
ExceptionCode | exception () const |
InterruptCode | interrupt () const |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst) |
Protected Attributes inherited from RiscvISA::RiscvFault | |
const FaultName | _name |
const ExceptionCode | _code |
const InterruptCode | _int |
|
virtual |
Reimplemented from RiscvISA::RiscvFault.
Definition at line 88 of file faults.cc.
References NoFault, ThreadContext::readIntReg(), ThreadContext::syscall(), and RiscvISA::SyscallNumReg.