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

#include <faults.hh>

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

Public Member Functions

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

Private Attributes

const std::string instName
 

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

Detailed Description

Definition at line 168 of file faults.hh.

Constructor & Destructor Documentation

◆ UnimplementedFault()

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

Definition at line 174 of file faults.hh.

Member Function Documentation

◆ invokeSE()

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

Reimplemented from RiscvISA::RiscvFault.

Definition at line 174 of file faults.cc.

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

Member Data Documentation

◆ instName

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

Definition at line 171 of file faults.hh.

Referenced by invokeSE().


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

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