gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::VegaISA::VegaFault Class Reference

#include <faults.hh>

Inheritance diagram for gem5::VegaISA::VegaFault:
gem5::FaultBase gem5::VegaISA::PageFault

Protected Member Functions

 VegaFault (FaultName n, bool i, ExceptionCode c)
 
FaultName name () const override
 
bool isInterrupt () const
 
ExceptionCode exception () const
 
virtual RegVal trap_value () const
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst) override
 

Protected Attributes

const FaultName _name
 
const bool _interrupt
 
ExceptionCode _code
 

Additional Inherited Members

- Public Member Functions inherited from gem5::FaultBase
virtual ~FaultBase ()
 

Detailed Description

Definition at line 52 of file faults.hh.

Constructor & Destructor Documentation

◆ VegaFault()

gem5::VegaISA::VegaFault::VegaFault ( FaultName n,
bool i,
ExceptionCode c )
inlineprotected

Definition at line 59 of file faults.hh.

Member Function Documentation

◆ exception()

ExceptionCode gem5::VegaISA::VegaFault::exception ( ) const
inlineprotected

Definition at line 65 of file faults.hh.

References _code.

◆ invoke()

void gem5::VegaISA::VegaFault::invoke ( ThreadContext * tc,
const StaticInstPtr & inst )
overrideprotectedvirtual

Reimplemented from gem5::FaultBase.

Definition at line 42 of file faults.cc.

References panic.

◆ isInterrupt()

bool gem5::VegaISA::VegaFault::isInterrupt ( ) const
inlineprotected

Definition at line 64 of file faults.hh.

References _interrupt.

◆ name()

FaultName gem5::VegaISA::VegaFault::name ( ) const
inlineoverrideprotectedvirtual

Implements gem5::FaultBase.

Definition at line 63 of file faults.hh.

References _name.

◆ trap_value()

virtual RegVal gem5::VegaISA::VegaFault::trap_value ( ) const
inlineprotectedvirtual

Reimplemented in gem5::VegaISA::PageFault.

Definition at line 66 of file faults.hh.

Member Data Documentation

◆ _code

ExceptionCode gem5::VegaISA::VegaFault::_code
protected

Definition at line 57 of file faults.hh.

Referenced by exception().

◆ _interrupt

const bool gem5::VegaISA::VegaFault::_interrupt
protected

Definition at line 56 of file faults.hh.

Referenced by isInterrupt().

◆ _name

const FaultName gem5::VegaISA::VegaFault::_name
protected

Definition at line 55 of file faults.hh.

Referenced by name().


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

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