gem5  v21.1.0.2
Public Member Functions | List of all members
gem5::FaultBase Class Referenceabstract

#include <faults.hh>

Inheritance diagram for gem5::FaultBase:
gem5::ArmISA::ArmFault gem5::GenericAlignmentFault gem5::GenericHtmFailureFault gem5::GenericISA::M5DebugFault gem5::GenericPageTableFault gem5::MipsISA::MipsFaultBase gem5::PowerISA::PowerFault gem5::ReExec gem5::RiscvISA::Reset gem5::RiscvISA::RiscvFault gem5::SESyscallFault gem5::SparcISA::SparcFaultBase gem5::SyscallRetryFault gem5::UnimpFault gem5::X86ISA::UnimpInstFault gem5::X86ISA::X86FaultBase

Public Member Functions

virtual FaultName name () const =0
 
virtual void invoke (ThreadContext *tc, const StaticInstPtr &inst=nullStaticInstPtr)
 
virtual ~FaultBase ()
 

Detailed Description

Definition at line 58 of file faults.hh.

Constructor & Destructor Documentation

◆ ~FaultBase()

virtual gem5::FaultBase::~FaultBase ( )
inlinevirtual

Definition at line 64 of file faults.hh.

Member Function Documentation

◆ invoke()

void gem5::FaultBase::invoke ( ThreadContext tc,
const StaticInstPtr inst = nullStaticInstPtr 
)
virtual

Reimplemented in gem5::ArmISA::ArmSev, gem5::ArmISA::Watchpoint, gem5::ArmISA::HardwareBreakpoint, gem5::ArmISA::SystemError, gem5::ArmISA::PCAlignmentFault, gem5::ArmISA::AbortFault< T >, gem5::ArmISA::AbortFault< PrefetchAbort >, gem5::ArmISA::AbortFault< VirtualDataAbort >, gem5::ArmISA::AbortFault< DataAbort >, gem5::X86ISA::StartupInterrupt, gem5::ArmISA::SecureMonitorCall, gem5::X86ISA::InitInterrupt, gem5::ArmISA::SupervisorCall, gem5::ArmISA::UndefinedInstruction, gem5::ArmISA::Reset, gem5::ArmISA::ArmFault, gem5::X86ISA::InvalidOpcode, gem5::GenericHtmFailureFault, gem5::X86ISA::UnimpInstFault, gem5::GenericAlignmentFault, gem5::RiscvISA::Reset, gem5::GenericPageTableFault, gem5::X86ISA::X86Abort, gem5::GenericISA::M5DebugOnceFault< Flavor >, gem5::SyscallRetryFault, gem5::PowerISA::TrapFault, gem5::X86ISA::X86Trap, gem5::ReExec, gem5::PowerISA::AlignmentFault, gem5::SESyscallFault, gem5::GenericISA::M5DebugFault, gem5::UnimpFault, gem5::X86ISA::X86FaultBase, gem5::PowerISA::UnimplementedOpcodeFault, gem5::X86ISA::PageFault, gem5::SparcISA::TrapInstruction, gem5::SparcISA::FillNNormal, gem5::MipsISA::TlbFault< T >, gem5::MipsISA::TlbFault< TlbRefillFault >, gem5::MipsISA::TlbFault< TlbModifiedFault >, gem5::MipsISA::TlbFault< TlbInvalidFault >, gem5::SparcISA::SpillNNormal, gem5::SparcISA::FastDataAccessMMUMiss, gem5::SparcISA::FastInstructionAccessMMUMiss, gem5::MipsISA::AddressFault< T >, gem5::MipsISA::AddressFault< AddressErrorFault >, gem5::MipsISA::AddressFault< TlbRefillFault >, gem5::MipsISA::AddressFault< TlbModifiedFault >, gem5::MipsISA::AddressFault< TlbInvalidFault >, gem5::MipsISA::CoprocessorUnusableFault, gem5::MipsISA::NonMaskableInterrupt, gem5::MipsISA::SoftResetFault, gem5::MipsISA::ResetFault, gem5::MipsISA::MipsFaultBase, gem5::SparcISA::PowerOnReset, gem5::SparcISA::SparcFaultBase, gem5::ArmISA::VirtualDataAbort, and gem5::RiscvISA::RiscvFault.

Definition at line 59 of file faults.cc.

References DPRINTF, gem5::FullSystem, name(), panic_if, and gem5::ThreadContext::pcState().

Referenced by gem5::SparcISA::SparcFaultBase::invoke(), gem5::X86ISA::X86FaultBase::invoke(), and gem5::ArmISA::ArmFault::invoke().

◆ name()

virtual FaultName gem5::FaultBase::name ( ) const
pure virtual

The documentation for this class was generated from the following files:

Generated on Tue Sep 21 2021 12:27:35 for gem5 by doxygen 1.8.17