gem5 v24.0.0.0
|
#include <faults.hh>
Public Member Functions | |
PageFault (Addr _addr, uint32_t _errorCode) | |
PageFault (Addr _addr, bool present, BaseMMU::Mode mode, bool user, bool reserved) | |
void | invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr) |
virtual std::string | describe () const |
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 () |
Protected Member Functions | |
BitUnion32 (PageFaultErrorCode) Bitfield< 0 > present | |
EndBitUnion (PageFaultErrorCode) Addr addr | |
Protected Member Functions inherited from gem5::X86ISA::X86Fault | |
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 |
Protected Attributes | |
Bitfield< 1 > | write |
Bitfield< 2 > | user |
Bitfield< 3 > | reserved |
Bitfield< 4 > | fetch |
Protected Attributes inherited from gem5::X86ISA::X86FaultBase | |
const char * | faultName |
const char * | mnem |
uint8_t | vector |
uint64_t | errorCode |
|
inline |
|
inline |
Definition at line 281 of file faults.hh.
References gem5::X86ISA::X86FaultBase::errorCode, gem5::BaseMMU::Execute, gem5::X86ISA::mode, gem5::X86ISA::present, reserved, user, and gem5::BaseMMU::Write.
|
protected |
|
virtual |
Reimplemented from gem5::X86ISA::X86FaultBase.
Definition at line 175 of file faults.cc.
References gem5::X86ISA::addr, gem5::ccprintf(), gem5::X86ISA::X86FaultBase::describe(), and gem5::ArmISA::ss.
|
protected |
|
virtual |
Reimplemented from gem5::FaultBase.
Definition at line 137 of file faults.cc.
References gem5::X86ISA::addr, gem5::X86ISA::misc_reg::Cr2, gem5::loader::debugSymbolTable, gem5::BaseMMU::demapPage(), gem5::StaticInst::disassemble(), gem5::X86ISA::X86FaultBase::errorCode, gem5::Process::fixupFault(), gem5::FullSystem, gem5::ThreadContext::getMMUPtr(), gem5::ThreadContext::getProcessPtr(), gem5::PCStateBase::instAddr(), gem5::X86ISA::X86FaultBase::invoke(), gem5::X86ISA::misc_reg::M5Reg, panic, gem5::ThreadContext::pcState(), gem5::ThreadContext::readMiscRegNoEffect(), and gem5::ThreadContext::setMiscReg().
|
protected |
Definition at line 270 of file faults.hh.
Referenced by PageFault().
|
protected |
Definition at line 269 of file faults.hh.
Referenced by PageFault().