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

#include <faults.hh>

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

Public Member Functions

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

Private Attributes

const Addr _addr
 

Additional Inherited Members

- Protected Member Functions inherited from 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 RiscvISA::RiscvFault
const FaultName _name
 
const bool _interrupt
 
ExceptionCode _code
 

Detailed Description

Definition at line 196 of file faults.hh.

Constructor & Destructor Documentation

◆ AddressFault()

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

Definition at line 202 of file faults.hh.

Member Function Documentation

◆ trap_value()

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

Reimplemented from RiscvISA::RiscvFault.

Definition at line 206 of file faults.hh.

References _addr.

Member Data Documentation

◆ _addr

const Addr RiscvISA::AddressFault::_addr
private

Definition at line 199 of file faults.hh.

Referenced by trap_value().


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

Generated on Wed Sep 30 2020 14:03:08 for gem5 by doxygen 1.8.17