gem5
|
#include <faults.hh>
Public Member Functions | |
StartupInterrupt (uint8_t _vector) | |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=StaticInst::nullStaticInstPtr) |
Public Member Functions inherited from X86ISA::X86FaultBase | |
virtual uint8_t | getVector () const |
Get the vector of an interrupt. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from X86ISA::X86Interrupt | |
X86Interrupt (const char *name, 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 |
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 |
|
inline |
|
virtual |
Reimplemented from X86ISA::X86FaultBase.
Definition at line 295 of file faults.cc.
References DPRINTF, X86ISA::MISCREG_CS, X86ISA::MISCREG_CS_BASE, X86ISA::MISCREG_CS_EFF_BASE, X86ISA::MISCREG_CS_LIMIT, X86ISA::MISCREG_M5_REG, panic, ThreadContext::pcState(), ThreadContext::readMiscReg(), X86ISA::RealMode, ThreadContext::setMiscReg(), and X86ISA::X86FaultBase::vector.