gem5  v20.1.0.0
Public Member Functions | List of all members
X86ISA::InvalidOpcode Class Reference

#include <faults.hh>

Inheritance diagram for X86ISA::InvalidOpcode:
X86ISA::X86Fault X86ISA::X86FaultBase FaultBase

Public Member Functions

 InvalidOpcode ()
 
void invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) override
 
- Public Member Functions inherited from X86ISA::X86FaultBase
virtual uint8_t getVector () const
 Get the vector of an interrupt. More...
 
- Public Member Functions inherited from FaultBase
virtual ~FaultBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from X86ISA::X86Fault
 X86FaultBase (const char *_faultName, const char *_mnem, const uint8_t _vector, uint64_t _errorCode=(uint64_t) -1)
 
- Protected Member Functions inherited from X86ISA::X86FaultBase
 X86FaultBase (const char *_faultName, const char *_mnem, const uint8_t _vector, uint64_t _errorCode=(uint64_t) -1)
 
const char * name () const override
 
virtual bool isBenign ()
 
virtual const char * mnemonic () const
 
virtual bool isSoft ()
 
virtual std::string describe () const
 
- Protected Attributes inherited from X86ISA::X86FaultBase
const char * faultName
 
const char * mnem
 
uint8_t vector
 
uint64_t errorCode
 

Detailed Description

Definition at line 208 of file faults.hh.

Constructor & Destructor Documentation

◆ InvalidOpcode()

X86ISA::InvalidOpcode::InvalidOpcode ( )
inline

Definition at line 211 of file faults.hh.

Member Function Documentation

◆ invoke()

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

Reimplemented from X86ISA::X86FaultBase.

Definition at line 125 of file faults.cc.

References FullSystem, X86ISA::X86FaultBase::invoke(), StaticInst::machInst, and panic.


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

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