gem5  v22.1.0.0
Public Member Functions | Private Attributes | List of all members
gem5::RiscvISA::AddressFault Class Reference

#include <faults.hh>

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

Public Member Functions

 AddressFault (const Addr addr, ExceptionCode code)
RegVal trap_value () const override
- Public Member Functions inherited from gem5::FaultBase
virtual ~FaultBase ()

Private Attributes

const Addr _addr

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
- Protected Attributes inherited from gem5::RiscvISA::RiscvFault
const FaultName _name
const FaultType _fault_type
ExceptionCode _code

Detailed Description

Definition at line 231 of file faults.hh.

Constructor & Destructor Documentation

◆ AddressFault()

gem5::RiscvISA::AddressFault::AddressFault ( const Addr  addr,
ExceptionCode  code 

Definition at line 237 of file faults.hh.

References gem5::RiscvISA::OTHERS.

Member Function Documentation

◆ trap_value()

RegVal gem5::RiscvISA::AddressFault::trap_value ( ) const

Reimplemented from gem5::RiscvISA::RiscvFault.

Definition at line 241 of file faults.hh.

References _addr.

Member Data Documentation

◆ _addr

const Addr gem5::RiscvISA::AddressFault::_addr

Definition at line 234 of file faults.hh.

Referenced by trap_value().

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

Generated on Wed Dec 21 2022 10:24:21 for gem5 by doxygen 1.9.1