gem5  v21.1.0.2
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, 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
 
- Protected Attributes inherited from gem5::RiscvISA::RiscvFault
const FaultName _name
 
const bool _interrupt
 
ExceptionCode _code
 

Detailed Description

Definition at line 203 of file faults.hh.

Constructor & Destructor Documentation

◆ AddressFault()

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

Definition at line 209 of file faults.hh.

Member Function Documentation

◆ trap_value()

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

Reimplemented from gem5::RiscvISA::RiscvFault.

Definition at line 213 of file faults.hh.

References _addr.

Member Data Documentation

◆ _addr

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

Definition at line 206 of file faults.hh.

Referenced by trap_value().


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

Generated on Tue Sep 21 2021 12:32:00 for gem5 by doxygen 1.8.17