gem5  v20.1.0.0
Classes | Public Member Functions | List of all members
MipsISA::MipsFaultBase Class Referenceabstract

#include <faults.hh>

Inheritance diagram for MipsISA::MipsFaultBase:
FaultBase MipsISA::MipsFault< AddressErrorFault > MipsISA::MipsFault< BreakpointFault > MipsISA::MipsFault< CoprocessorUnusableFault > MipsISA::MipsFault< DspStateDisabledFault > MipsISA::MipsFault< IntegerOverflowFault > MipsISA::MipsFault< InterruptFault > MipsISA::MipsFault< MachineCheckFault > MipsISA::MipsFault< NonMaskableInterrupt > MipsISA::MipsFault< ReservedInstructionFault > MipsISA::MipsFault< ResetFault > MipsISA::MipsFault< SoftResetFault > MipsISA::MipsFault< SystemCallFault > MipsISA::MipsFault< ThreadFault > MipsISA::MipsFault< TlbInvalidFault > MipsISA::MipsFault< TlbModifiedFault > MipsISA::MipsFault< TlbRefillFault > MipsISA::MipsFault< TrapFault > MipsISA::MipsFault< T >

Classes

struct  FaultVals
 

Public Member Functions

void setExceptionState (ThreadContext *, uint8_t)
 
virtual FaultVect offset (ThreadContext *tc) const =0
 
virtual ExcCode code () const =0
 
virtual FaultVect base (ThreadContext *tc) const
 
FaultVect vect (ThreadContext *tc) const
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr)
 
- Public Member Functions inherited from FaultBase
virtual FaultName name () const =0
 
virtual ~FaultBase ()
 

Detailed Description

Definition at line 70 of file faults.hh.

Member Function Documentation

◆ base()

virtual FaultVect MipsISA::MipsFaultBase::base ( ThreadContext tc) const
inlinevirtual

Definition at line 84 of file faults.hh.

References MipsISA::MISCREG_EBASE, MipsISA::MISCREG_STATUS, ThreadContext::readMiscReg(), and ArmISA::status.

Referenced by vect().

◆ code()

virtual ExcCode MipsISA::MipsFaultBase::code ( ) const
pure virtual

◆ invoke()

void MipsISA::MipsFaultBase::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
virtual

◆ offset()

virtual FaultVect MipsISA::MipsFaultBase::offset ( ThreadContext tc) const
pure virtual

◆ setExceptionState()

void MipsISA::MipsFaultBase::setExceptionState ( ThreadContext tc,
uint8_t  excCode 
)

◆ vect()

FaultVect MipsISA::MipsFaultBase::vect ( ThreadContext tc) const
inline

Definition at line 94 of file faults.hh.

References base(), and offset().

Referenced by invoke(), MipsISA::ResetFault::invoke(), and MipsISA::TlbFault< TlbInvalidFault >::invoke().


The documentation for this class was generated from the following files:

Generated on Wed Sep 30 2020 14:03:07 for gem5 by doxygen 1.8.17