gem5
|
#include <faults.hh>
Public Member Functions | |
virtual | ~AlphaFault () |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) |
virtual FaultVect | vect ()=0 |
virtual FaultStat & | countStat ()=0 |
Public Member Functions inherited from FaultBase | |
virtual FaultName | name () const =0 |
Protected Member Functions | |
virtual bool | skipFaultingInstruction () |
virtual bool | setRestartAddress () |
|
inlinevirtual |
|
pure virtual |
Implemented in AlphaISA::IntegerOverflowFault, AlphaISA::PalFault, AlphaISA::FloatEnableFault, AlphaISA::UnimplementedOpcodeFault, AlphaISA::ItbAcvFault, AlphaISA::ItbPageFault, AlphaISA::ItbFault, AlphaISA::DtbAlignmentFault, AlphaISA::DtbAcvFault, AlphaISA::DtbPageFault, AlphaISA::PDtbMissFault, AlphaISA::NDtbMissFault, AlphaISA::DtbFault, AlphaISA::InterruptFault, AlphaISA::ArithmeticFault, AlphaISA::ResetFault, AlphaISA::AlignmentFault, and AlphaISA::MachineCheckFault.
Referenced by invoke().
|
virtual |
Reimplemented from FaultBase.
Reimplemented in AlphaISA::ItbPageFault, AlphaISA::ItbFault, AlphaISA::NDtbMissFault, AlphaISA::DtbFault, and AlphaISA::ArithmeticFault.
Definition at line 110 of file faults.cc.
References countStat(), FullSystem, FaultBase::invoke(), AlphaISA::IPR_EXC_ADDR, AlphaISA::IPR_PAL_BASE, pc, GenericISA::SimplePCState< MachInst >::pc(), ThreadContext::pcState(), ThreadContext::readMiscRegNoEffect(), GenericISA::SimplePCState< MachInst >::set(), ThreadContext::setMiscRegNoEffect(), setRestartAddress(), skipFaultingInstruction(), and vect().
Referenced by AlphaISA::DtbFault::invoke(), and AlphaISA::ItbFault::invoke().
|
inlineprotectedvirtual |
Reimplemented in AlphaISA::InterruptFault.
Definition at line 49 of file faults.hh.
Referenced by invoke().
|
inlineprotectedvirtual |
Reimplemented in AlphaISA::PalFault, and AlphaISA::ArithmeticFault.
Definition at line 48 of file faults.hh.
Referenced by invoke().
|
pure virtual |
Implemented in AlphaISA::IntegerOverflowFault, AlphaISA::PalFault, AlphaISA::FloatEnableFault, AlphaISA::UnimplementedOpcodeFault, AlphaISA::ItbAcvFault, AlphaISA::ItbPageFault, AlphaISA::ItbFault, AlphaISA::DtbAlignmentFault, AlphaISA::DtbAcvFault, AlphaISA::DtbPageFault, AlphaISA::PDtbMissFault, AlphaISA::NDtbMissFault, AlphaISA::DtbFault, AlphaISA::InterruptFault, AlphaISA::ArithmeticFault, AlphaISA::ResetFault, AlphaISA::AlignmentFault, and AlphaISA::MachineCheckFault.
Referenced by AlphaISA::initCPU(), and invoke().