gem5
v20.1.0.0
|
#include <faults.hh>
Public Member Functions | |
Reset () | |
FaultName | name () const override |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) override |
Public Member Functions inherited from FaultBase | |
virtual | ~FaultBase () |
Private Attributes | |
const FaultName | _name |
|
overridevirtual |
Reimplemented from FaultBase.
Definition at line 144 of file faults.cc.
References ThreadContext::getSystemPtr(), RiscvISA::MISCREG_MCAUSE, RiscvISA::MISCREG_PRV, RiscvISA::MISCREG_STATUS, RiscvISA::pc, ThreadContext::pcState(), RiscvISA::PRV_M, ThreadContext::readMiscReg(), ThreadContext::setMiscReg(), ArmISA::status, and System::workload.
|
inlineoverridevirtual |
|
private |