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

#include <faults.hh>

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


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=nullStaticInstPtr)
- Public Member Functions inherited from gem5::FaultBase
virtual FaultName name () const =0
virtual ~FaultBase ()

Detailed Description

Definition at line 76 of file faults.hh.

Member Function Documentation

◆ base()

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

◆ code()

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

◆ invoke()

void gem5::MipsISA::MipsFaultBase::invoke ( ThreadContext tc,
const StaticInstPtr inst = nullStaticInstPtr 

◆ offset()

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

◆ setExceptionState()

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

◆ vect()

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

Definition at line 100 of file faults.hh.

References base(), and offset().

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

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

Generated on Wed Dec 21 2022 10:24:17 for gem5 by doxygen 1.9.1