gem5  v20.1.0.0
Public Member Functions | List of all members
FaultBase Class Referenceabstract

#include <faults.hh>

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

Public Member Functions

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

Detailed Description

Definition at line 54 of file faults.hh.

Constructor & Destructor Documentation

◆ ~FaultBase()

virtual FaultBase::~FaultBase ( )
inlinevirtual

Definition at line 60 of file faults.hh.

Member Function Documentation

◆ invoke()

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

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

Definition at line 54 of file faults.cc.

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

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

◆ name()

virtual FaultName FaultBase::name ( ) const
pure virtual

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

Generated on Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17