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

#include <faults.hh>

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

Public Member Functions

 IllegalFrmFault (uint8_t r, 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 uint8_t frm

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

Constructor & Destructor Documentation

◆ IllegalFrmFault()

RiscvISA::IllegalFrmFault::IllegalFrmFault ( uint8_t  r,
const ExtMachInst  inst 

Definition at line 188 of file faults.hh.

Member Function Documentation

◆ invokeSE()

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

Reimplemented from RiscvISA::RiscvFault.

Definition at line 182 of file

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

Member Data Documentation

◆ frm

const uint8_t RiscvISA::IllegalFrmFault::frm

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