gem5 v24.0.0.0
|
#include <faults.hh>
Public Member Functions | |
Reset () | |
FaultName | name () const override |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) override |
Public Member Functions inherited from gem5::FaultBase | |
virtual | ~FaultBase () |
Private Attributes | |
const FaultName | _name |
|
overridevirtual |
Reimplemented from gem5::FaultBase.
Definition at line 171 of file faults.cc.
References gem5::ThreadContext::getIsaPtr(), gem5::ThreadContext::getMMUPtr(), gem5::ThreadContext::getSystemPtr(), gem5::RiscvISA::MISCREG_MCAUSE, gem5::RiscvISA::MISCREG_PRV, gem5::RiscvISA::MISCREG_STATUS, gem5::BaseISA::newPCState(), panic_if, gem5::ThreadContext::pcState(), gem5::RiscvISA::PRV_M, gem5::ThreadContext::readMiscReg(), gem5::ThreadContext::setMiscReg(), gem5::ArmISA::status, warn, and gem5::System::workload.
Referenced by gem5::RiscvISA::BareMetal::initState(), gem5::RiscvISA::BootloaderKernelWorkload::initState(), gem5::RiscvISA::FsLinux::initState(), and gem5::RiscvISA::ISA::resetThread().
|
inlineoverridevirtual |
|
private |