gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::RiscvISA::IllegalFrmFault Class Reference

#include <faults.hh>

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

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from gem5::RiscvISA::RiscvFault
 RiscvFault (FaultName n, FaultType ft, ExceptionCode c)
 
FaultName name () const override
 
bool isInterrupt () const
 
bool isNonMaskableInterrupt () 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 FaultType _fault_type
 
ExceptionCode _code
 

Detailed Description

Definition at line 266 of file faults.hh.

Constructor & Destructor Documentation

◆ IllegalFrmFault()

gem5::RiscvISA::IllegalFrmFault::IllegalFrmFault ( uint8_t r,
const ExtMachInst inst )
inline

Definition at line 272 of file faults.hh.

Member Function Documentation

◆ invokeSE()

void gem5::RiscvISA::IllegalFrmFault::invokeSE ( ThreadContext * tc,
const StaticInstPtr & inst )
overridevirtual

Reimplemented from gem5::RiscvISA::RiscvFault.

Definition at line 225 of file faults.cc.

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

Member Data Documentation

◆ frm

const uint8_t gem5::RiscvISA::IllegalFrmFault::frm
private

Definition at line 269 of file faults.hh.

Referenced by invokeSE().


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

Generated on Tue Jun 18 2024 16:24:21 for gem5 by doxygen 1.11.0