gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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
 

Detailed Description

Definition at line 76 of file faults.hh.

Member Function Documentation

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

Definition at line 90 of file faults.hh.

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

Referenced by vect().

virtual ExcCode MipsISA::MipsFaultBase::code ( ) const
pure virtual
void MipsISA::MipsFaultBase::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
virtual
virtual FaultVect MipsISA::MipsFaultBase::offset ( ThreadContext tc) const
pure virtual
void MipsISA::MipsFaultBase::setExceptionState ( ThreadContext tc,
uint8_t  excCode 
)
FaultVect MipsISA::MipsFaultBase::vect ( ThreadContext tc) const
inline

Definition at line 100 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 Fri Jun 9 2017 13:04:33 for gem5 by doxygen 1.8.6