gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RiscvISA::InstFault Class Reference

#include <faults.hh>

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

Public Member Functions

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

Protected Attributes

const ExtMachInst _inst
 
- Protected Attributes inherited from gem5::RiscvISA::RiscvFault
const FaultName _name
 
const FaultType _fault_type
 
ExceptionCode _code
 

Additional Inherited Members

- Protected Member Functions inherited from gem5::RiscvISA::RiscvFault
 RiscvFault (FaultName n, FaultType ft, ExceptionCode c)
 
FaultName name () const override
 
bool isInterrupt () const
 
bool isNonMaskableInterrupt () 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 215 of file faults.hh.

Constructor & Destructor Documentation

◆ InstFault()

gem5::RiscvISA::InstFault::InstFault ( FaultName n,
const ExtMachInst inst )
inline

Definition at line 221 of file faults.hh.

Member Function Documentation

◆ trap_value()

RegVal gem5::RiscvISA::InstFault::trap_value ( ) const
inlineoverridevirtual

Reimplemented from gem5::RiscvISA::RiscvFault.

Definition at line 225 of file faults.hh.

References _inst.

Member Data Documentation

◆ _inst

const ExtMachInst gem5::RiscvISA::InstFault::_inst
protected

Definition at line 218 of file faults.hh.

Referenced by trap_value().


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

Generated on Tue Jun 18 2024 16:24:21 for gem5 by doxygen 1.11.0