gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 280 of file faults.hh.

Constructor & Destructor Documentation

◆ AddressFault()

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

Definition at line 286 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 290 of file faults.hh.

References _addr.

Referenced by gem5::RiscvISA::getFaultVAddr().

Member Data Documentation

◆ _addr

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

Definition at line 283 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