gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
RiscvISA::InstFault Class Reference

#include <faults.hh>

Inheritance diagram for RiscvISA::InstFault:
RiscvISA::RiscvFault FaultBase RiscvISA::IllegalFrmFault RiscvISA::IllegalInstFault RiscvISA::UnimplementedFault RiscvISA::UnknownInstFault

Public Member Functions

 InstFault (FaultName n, const ExtMachInst inst)
RegVal trap_value () const override
- Public Member Functions inherited from FaultBase
virtual ~FaultBase ()

Protected Attributes

const ExtMachInst _inst
- Protected Attributes inherited from RiscvISA::RiscvFault
const FaultName _name
const bool _interrupt
ExceptionCode _code

Additional Inherited Members

- Protected Member Functions inherited from RiscvISA::RiscvFault
 RiscvFault (FaultName n, bool i, ExceptionCode c)
FaultName name () const override
bool isInterrupt () const
ExceptionCode exception () const
virtual void invokeSE (ThreadContext *tc, const StaticInstPtr &inst)
void invoke (ThreadContext *tc, const StaticInstPtr &inst) override

Detailed Description

Definition at line 132 of file faults.hh.

Constructor & Destructor Documentation

◆ InstFault()

RiscvISA::InstFault::InstFault ( FaultName  n,
const ExtMachInst  inst 

Definition at line 138 of file faults.hh.

Member Function Documentation

◆ trap_value()

RegVal RiscvISA::InstFault::trap_value ( ) const

Reimplemented from RiscvISA::RiscvFault.

Definition at line 142 of file faults.hh.

References _inst.

Member Data Documentation

◆ _inst

const ExtMachInst RiscvISA::InstFault::_inst

Definition at line 135 of file faults.hh.

Referenced by trap_value().

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

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