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

#include <faults.hh>

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

Public Member Functions

 UnknownInstFault (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 ()

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 145 of file faults.hh.

Constructor & Destructor Documentation

◆ UnknownInstFault()

RiscvISA::UnknownInstFault::UnknownInstFault ( const ExtMachInst  inst)

Definition at line 148 of file faults.hh.

Member Function Documentation

◆ invokeSE()

void RiscvISA::UnknownInstFault::invokeSE ( ThreadContext tc,
const StaticInstPtr inst 

Reimplemented from RiscvISA::RiscvFault.

Definition at line 160 of file

References StaticInst::machInst, panic, and ThreadContext::pcState().

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