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

#include <faults.hh>

Inheritance diagram for UnimpFault:
FaultBase

Public Member Functions

 UnimpFault (std::string _str)
 
FaultName name () const override
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) override
 
- Public Member Functions inherited from FaultBase
virtual ~FaultBase ()
 

Private Attributes

std::string panicStr
 

Detailed Description

Definition at line 63 of file faults.hh.

Constructor & Destructor Documentation

◆ UnimpFault()

UnimpFault::UnimpFault ( std::string  _str)
inline

Definition at line 68 of file faults.hh.

Member Function Documentation

◆ invoke()

void UnimpFault::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
overridevirtual

Reimplemented from FaultBase.

Definition at line 62 of file faults.cc.

References panic, and panicStr.

◆ name()

FaultName UnimpFault::name ( ) const
inlineoverridevirtual

Implements FaultBase.

Definition at line 71 of file faults.hh.

Member Data Documentation

◆ panicStr

std::string UnimpFault::panicStr
private

Definition at line 66 of file faults.hh.

Referenced by invoke().


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

Generated on Wed Sep 30 2020 14:02:33 for gem5 by doxygen 1.8.17