gem5  v21.1.0.2
Public Member Functions | Private Attributes | List of all members
gem5::RiscvISA::UnimplementedFault Class Reference

#include <faults.hh>

Inheritance diagram for gem5::RiscvISA::UnimplementedFault:
gem5::RiscvISA::InstFault gem5::RiscvISA::RiscvFault gem5::FaultBase

Public Member Functions

 UnimplementedFault (std::string name, const ExtMachInst inst)
 
void invokeSE (ThreadContext *tc, const StaticInstPtr &inst) override
 
- Public Member Functions inherited from gem5::RiscvISA::InstFault
 InstFault (FaultName n, const ExtMachInst inst)
 
RegVal trap_value () const override
 
- Public Member Functions inherited from gem5::FaultBase
virtual ~FaultBase ()
 

Private Attributes

const std::string instName
 

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
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst) override
 
- Protected Attributes inherited from gem5::RiscvISA::InstFault
const ExtMachInst _inst
 
- Protected Attributes inherited from gem5::RiscvISA::RiscvFault
const FaultName _name
 
const bool _interrupt
 
ExceptionCode _code
 

Detailed Description

Definition at line 175 of file faults.hh.

Constructor & Destructor Documentation

◆ UnimplementedFault()

gem5::RiscvISA::UnimplementedFault::UnimplementedFault ( std::string  name,
const ExtMachInst  inst 
)
inline

Definition at line 181 of file faults.hh.

Member Function Documentation

◆ invokeSE()

void gem5::RiscvISA::UnimplementedFault::invokeSE ( ThreadContext tc,
const StaticInstPtr inst 
)
overridevirtual

Reimplemented from gem5::RiscvISA::RiscvFault.

Definition at line 184 of file faults.cc.

References instName, panic, and gem5::ThreadContext::pcState().

Member Data Documentation

◆ instName

const std::string gem5::RiscvISA::UnimplementedFault::instName
private

Definition at line 178 of file faults.hh.

Referenced by invokeSE().


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

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