gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::RiscvISA::InterruptFault Class Reference

#include <faults.hh>

Inheritance diagram for gem5::RiscvISA::InterruptFault:
gem5::RiscvISA::RiscvFault gem5::FaultBase

Public Member Functions

 InterruptFault (ExceptionCode c)
 InterruptFault (int c)
Public Member Functions inherited from gem5::FaultBase
virtual ~FaultBase ()

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
bool isResumableNonMaskableInterrupt (ISA *isa) const
bool isPlainException () const
bool isGuestPageFault () const
ExceptionCode exception () const
virtual RegVal trap_value () const
virtual RegVal trap_value2 () const
virtual bool mustSetGva () const
virtual void invokeSE (ThreadContext *tc, const StaticInstPtr &inst)
void invoke (ThreadContext *tc, const StaticInstPtr &inst) override
Protected Attributes inherited from gem5::RiscvISA::RiscvFault
const FaultName _name
const FaultType _fault_type
ExceptionCode _code

Detailed Description

Definition at line 110 of file faults.hh.

Constructor & Destructor Documentation

◆ InterruptFault() [1/2]

gem5::RiscvISA::InterruptFault::InterruptFault ( ExceptionCode c)
inline

◆ InterruptFault() [2/2]

gem5::RiscvISA::InterruptFault::InterruptFault ( int c)
inline

Definition at line 116 of file faults.hh.

References gem5::RiscvISA::c, and InterruptFault().


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

Generated on Sat Oct 18 2025 08:07:01 for gem5 by doxygen 1.14.0