gem5 v24.0.0.0
|
#include <faults.hh>
Public Member Functions | |
StartupInterrupt (uint8_t _vector) | |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) override |
Public Member Functions inherited from gem5::X86ISA::X86FaultBase | |
virtual uint8_t | getVector () const |
Get the vector of an interrupt. | |
Public Member Functions inherited from gem5::FaultBase | |
virtual | ~FaultBase () |
Additional Inherited Members | |
Protected Member Functions inherited from gem5::X86ISA::X86Interrupt | |
X86FaultBase (const char *_faultName, const char *_mnem, const uint8_t _vector, uint64_t _errorCode=(uint64_t) -1) | |
Protected Member Functions inherited from gem5::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 |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) override |
virtual std::string | describe () const |
Protected Attributes inherited from gem5::X86ISA::X86FaultBase | |
const char * | faultName |
const char * | mnem |
uint8_t | vector |
uint64_t | errorCode |
|
inline |
|
overridevirtual |
Reimplemented from gem5::FaultBase.
Definition at line 301 of file faults.cc.
References gem5::X86ISA::misc_reg::Cs, gem5::X86ISA::misc_reg::CsBase, gem5::X86ISA::misc_reg::CsEffBase, gem5::X86ISA::misc_reg::CsLimit, DPRINTF, gem5::X86ISA::misc_reg::M5Reg, panic, gem5::ThreadContext::pcState(), gem5::ThreadContext::readMiscReg(), gem5::X86ISA::RealMode, gem5::ThreadContext::setMiscReg(), and gem5::X86ISA::X86FaultBase::vector.