gem5  v20.1.0.0
Protected Member Functions | List of all members
X86ISA::X86Trap Class Reference

#include <faults.hh>

Inheritance diagram for X86ISA::X86Trap:
X86ISA::X86FaultBase FaultBase X86ISA::Breakpoint X86ISA::OverflowTrap

Protected Member Functions

void invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) override
 
 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
 

Additional Inherited Members

- 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 ()
 
- Protected Attributes inherited from X86ISA::X86FaultBase
const char * faultName
 
const char * mnem
 
uint8_t vector
 
uint64_t errorCode
 

Detailed Description

Definition at line 95 of file faults.hh.

Member Function Documentation

◆ invoke()

void X86ISA::X86Trap::invoke ( ThreadContext tc,
const StaticInstPtr inst = StaticInst::nullStaticInstPtr 
)
overrideprotectedvirtual

Reimplemented from X86ISA::X86FaultBase.

Definition at line 106 of file faults.cc.

References FullSystem, X86ISA::X86FaultBase::invoke(), X86ISA::pc, and ThreadContext::pcState().

◆ X86FaultBase()

X86ISA::X86FaultBase::X86FaultBase
inlineprotected

Definition at line 60 of file faults.hh.


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