gem5 v24.0.0.0
|
#include <faults.hh>
Public Member Functions | |
virtual uint8_t | getVector () const |
Get the vector of an interrupt. | |
Public Member Functions inherited from gem5::FaultBase | |
virtual | ~FaultBase () |
Protected Member Functions | |
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 | |
const char * | faultName |
const char * | mnem |
uint8_t | vector |
uint64_t | errorCode |
|
inlineprotected |
|
protectedvirtual |
Reimplemented in gem5::X86ISA::PageFault.
Definition at line 100 of file faults.cc.
References gem5::ccprintf(), errorCode, mnemonic(), and gem5::ArmISA::ss.
Referenced by gem5::X86ISA::PageFault::describe(), and invoke().
|
inlinevirtual |
Get the vector of an interrupt.
Definition at line 85 of file faults.hh.
References vector.
Referenced by gem5::X86KvmCPU::deliverInterrupts().
|
overrideprotectedvirtual |
Reimplemented from gem5::FaultBase.
Reimplemented in gem5::X86ISA::X86Trap.
Definition at line 62 of file faults.cc.
References gem5::PCStateBase::as(), gem5::X86ISA::misc_reg::CsEffBase, describe(), DPRINTF, errorCode, gem5::FullSystem, gem5::X86ISA::intRegMicro(), gem5::FaultBase::invoke(), gem5::X86ISA::misc_reg::M5Reg, panic, gem5::X86ISA::pc, gem5::ThreadContext::pcState(), gem5::ThreadContext::readMiscRegNoEffect(), gem5::X86ISA::RealMode, gem5::romMicroPC(), gem5::ThreadContext::setReg(), and vector.
Referenced by gem5::X86ISA::InvalidOpcode::invoke(), gem5::X86ISA::PageFault::invoke(), and gem5::X86ISA::X86Trap::invoke().
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineoverrideprotectedvirtual |
|
protected |
Definition at line 62 of file faults.hh.
Referenced by describe(), gem5::X86ISA::PageFault::invoke(), invoke(), and gem5::X86ISA::PageFault::PageFault().
|
protected |
|
protected |
Definition at line 60 of file faults.hh.
Referenced by mnemonic().
|
protected |
Definition at line 61 of file faults.hh.
Referenced by getVector(), gem5::X86ISA::StartupInterrupt::invoke(), and invoke().