gem5  v20.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
FaultBase Class Referenceabstract

#include <faults.hh>

Inheritance diagram for FaultBase:
ArmISA::ArmFault GenericAlignmentFault GenericISA::M5DebugFault GenericPageTableFault MipsISA::MipsFaultBase PowerISA::PowerFault ReExec RiscvISA::Reset RiscvISA::RiscvFault 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 41 of file faults.hh.

Constructor & Destructor Documentation

◆ ~FaultBase()

virtual FaultBase::~FaultBase ( )
inlinevirtual

Definition at line 48 of file faults.hh.

Member Function Documentation

◆ invoke()

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

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

Definition at line 40 of file faults.cc.

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

Referenced by GenericAlignmentFault::GenericAlignmentFault(), GenericPageTableFault::GenericPageTableFault(), SparcISA::SparcFaultBase::invoke(), X86ISA::X86FaultBase::invoke(), ArmISA::ArmFault::invoke(), UnimpFault::name(), ReExec::ReExec(), and SyscallRetryFault::SyscallRetryFault().

◆ name()

virtual FaultName FaultBase::name ( ) const
pure virtual

Implemented in ArmISA::ArmFaultVals< T >, ArmISA::ArmFaultVals< VirtualDataAbort >, ArmISA::ArmFaultVals< PrefetchAbort >, ArmISA::ArmFaultVals< Interrupt >, ArmISA::ArmFaultVals< SoftwareBreakpoint >, ArmISA::ArmFaultVals< SupervisorCall >, ArmISA::ArmFaultVals< IllegalInstSetStateFault >, ArmISA::ArmFaultVals< HypervisorCall >, ArmISA::ArmFaultVals< Reset >, ArmISA::ArmFaultVals< UndefinedInstruction >, ArmISA::ArmFaultVals< HypervisorTrap >, ArmISA::ArmFaultVals< VirtualFastInterrupt >, ArmISA::ArmFaultVals< DataAbort >, ArmISA::ArmFaultVals< PCAlignmentFault >, ArmISA::ArmFaultVals< SupervisorTrap >, ArmISA::ArmFaultVals< SecureMonitorCall >, ArmISA::ArmFaultVals< SecureMonitorTrap >, ArmISA::ArmFaultVals< SPAlignmentFault >, ArmISA::ArmFaultVals< VirtualInterrupt >, ArmISA::ArmFaultVals< SystemError >, ArmISA::ArmFaultVals< ArmSev >, ArmISA::ArmFaultVals< FastInterrupt >, X86ISA::UnimpInstFault, GenericISA::M5FatalFault, GenericISA::M5PanicFault, RiscvISA::Reset, MipsISA::MipsFault< T >, MipsISA::MipsFault< IntegerOverflowFault >, MipsISA::MipsFault< SoftResetFault >, MipsISA::MipsFault< TrapFault >, MipsISA::MipsFault< DspStateDisabledFault >, MipsISA::MipsFault< NonMaskableInterrupt >, MipsISA::MipsFault< MachineCheckFault >, MipsISA::MipsFault< AddressErrorFault >, MipsISA::MipsFault< ThreadFault >, MipsISA::MipsFault< CoprocessorUnusableFault >, MipsISA::MipsFault< ResetFault >, MipsISA::MipsFault< TlbRefillFault >, MipsISA::MipsFault< ReservedInstructionFault >, MipsISA::MipsFault< BreakpointFault >, MipsISA::MipsFault< TlbModifiedFault >, MipsISA::MipsFault< InterruptFault >, MipsISA::MipsFault< TlbInvalidFault >, MipsISA::MipsFault< SystemCallFault >, GenericAlignmentFault, RiscvISA::RiscvFault, GenericPageTableFault, SparcISA::SparcFault< T >, SparcISA::SparcFault< TagOverflow >, SparcISA::SparcFault< InstructionInvalidTSBEntry >, SparcISA::SparcFault< REDStateException >, SparcISA::SparcFault< HstickMatch >, SparcISA::SparcFault< PrivilegedOpcode >, SparcISA::SparcFault< VecDisabled >, SparcISA::SparcFault< InstructionBreakpoint >, SparcISA::SparcFault< FpDisabled >, SparcISA::SparcFault< StoreError >, SparcISA::SparcFault< InterruptLevelN >, SparcISA::SparcFault< FpExceptionIEEE754 >, SparcISA::SparcFault< DataRealTranslationMiss >, SparcISA::SparcFault< PrivilegedAction >, SparcISA::SparcFault< MemAddressNotAligned >, SparcISA::SparcFault< InstructionAccessException >, SparcISA::SparcFault< FastInstructionAccessMMUMiss >, SparcISA::SparcFault< InstructionRealTranslationMiss >, SparcISA::SparcFault< TrapInstruction >, SparcISA::SparcFault< ExternallyInitiatedReset >, SparcISA::SparcFault< CleanWindow >, SparcISA::SparcFault< LDQFMemAddressNotAligned >, SparcISA::SparcFault< DevMondo >, SparcISA::SparcFault< STDFMemAddressNotAligned >, SparcISA::SparcFault< FastDataAccessProtection >, SparcISA::SparcFault< DivisionByZero >, SparcISA::SparcFault< IllegalInstruction >, SparcISA::SparcFault< DataAccessError >, SparcISA::SparcFault< SpillNNormal >, SparcISA::SparcFault< SoftwareInitiatedReset >, SparcISA::SparcFault< FillNOther >, SparcISA::SparcFault< FpExceptionOther >, SparcISA::SparcFault< DataInvalidTSBEntry >, SparcISA::SparcFault< InstructionAccessError >, SparcISA::SparcFault< PowerOnReset >, SparcISA::SparcFault< DataAccessProtection >, SparcISA::SparcFault< InternalProcessorError >, SparcISA::SparcFault< ResumableError >, SparcISA::SparcFault< DataAccessException >, SparcISA::SparcFault< InterruptVector >, SparcISA::SparcFault< SpillNOther >, SparcISA::SparcFault< TrapLevelZero >, SparcISA::SparcFault< PAWatchpoint >, SparcISA::SparcFault< FastDataAccessMMUMiss >, SparcISA::SparcFault< FillNNormal >, SparcISA::SparcFault< VAWatchpoint >, SparcISA::SparcFault< STQFMemAddressNotAligned >, SparcISA::SparcFault< WatchDogReset >, SparcISA::SparcFault< LDDFMemAddressNotAligned >, SparcISA::SparcFault< CpuMondo >, SyscallRetryFault, ReExec, X86ISA::X86FaultBase, UnimpFault, and PowerISA::PowerFault.

Referenced by invoke(), MipsISA::MipsFaultBase::invoke(), MipsISA::ResetFault::invoke(), ArmISA::ArmFault::invoke(), and ArmISA::ArmFault::invoke64().


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

Generated on Thu May 28 2020 16:21:44 for gem5 by doxygen 1.8.13