gem5
|
#include <faults.hh>
Protected Member Functions | |
RiscvFault (FaultName n, ExceptionCode c, InterruptCode i) | |
FaultName | name () const |
ExceptionCode | exception () const |
InterruptCode | interrupt () const |
virtual void | invoke_se (ThreadContext *tc, const StaticInstPtr &inst) |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst) |
Protected Attributes | |
const FaultName | _name |
const ExceptionCode | _code |
const InterruptCode | _int |
Additional Inherited Members |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
protectedvirtual |
Reimplemented from FaultBase.
Definition at line 47 of file faults.cc.
References RiscvISA::advancePC(), FullSystem, invoke_se(), panic, and ThreadContext::pcState().
|
protectedvirtual |
Reimplemented in RiscvISA::SyscallFault, RiscvISA::BreakpointFault, RiscvISA::IllegalFrmFault, RiscvISA::UnimplementedFault, and RiscvISA::UnknownInstFault.
Definition at line 41 of file faults.cc.
References name(), panic, and ThreadContext::pcState().
Referenced by invoke().
|
inlineprotectedvirtual |
Implements FaultBase.
Definition at line 83 of file faults.hh.
References _name.
Referenced by invoke_se().
|
protected |
Definition at line 75 of file faults.hh.
Referenced by exception().
|
protected |
Definition at line 76 of file faults.hh.
Referenced by interrupt().
|
protected |