gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::PCEvent Class Referenceabstract

#include <pc_event.hh>

Inheritance diagram for gem5::PCEvent:
gem5::ArmISA::DumpStats gem5::BreakPCEvent gem5::HardBreakpoint gem5::IdleStartEvent gem5::IdleStartEvent gem5::PanicPCEvent gem5::SkipFuncBase gem5::linux::PanicOrOopsEvent

Public Member Functions

 PCEvent (PCEventScope *q, const std::string &desc, Addr pc)
 
virtual ~PCEvent ()
 
virtual const std::string name () const
 
std::string descr () const
 
Addr pc () const
 
bool remove ()
 
virtual void process (ThreadContext *tc)=0
 

Protected Attributes

std::string description
 
PCEventScopescope
 
Addr evpc
 

Detailed Description

Definition at line 45 of file pc_event.hh.

Constructor & Destructor Documentation

◆ PCEvent()

gem5::PCEvent::PCEvent ( PCEventScope * q,
const std::string & desc,
Addr pc )
inline

Definition at line 133 of file pc_event.hh.

References gem5::PCEventScope::schedule(), and scope.

◆ ~PCEvent()

virtual gem5::PCEvent::~PCEvent ( )
inlinevirtual

Definition at line 55 of file pc_event.hh.

References remove(), and scope.

Member Function Documentation

◆ descr()

std::string gem5::PCEvent::descr ( ) const
inline

◆ name()

virtual const std::string gem5::PCEvent::name ( ) const
inlinevirtual

Reimplemented in gem5::HardBreakpoint.

Definition at line 58 of file pc_event.hh.

References description.

Referenced by gem5::BreakPCEvent::process(), and gem5::PanicPCEvent::process().

◆ pc()

Addr gem5::PCEvent::pc ( ) const
inline

◆ process()

◆ remove()

bool gem5::PCEvent::remove ( )
inline

Definition at line 140 of file pc_event.hh.

References panic, gem5::PCEventScope::remove(), and scope.

Referenced by ~PCEvent().

Member Data Documentation

◆ description

std::string gem5::PCEvent::description
protected

Definition at line 48 of file pc_event.hh.

Referenced by descr(), name(), and gem5::SkipFuncBase::process().

◆ evpc

Addr gem5::PCEvent::evpc
protected

Definition at line 50 of file pc_event.hh.

Referenced by gem5::HardBreakpoint::HardBreakpoint(), and pc().

◆ scope

PCEventScope* gem5::PCEvent::scope
protected

Definition at line 49 of file pc_event.hh.

Referenced by PCEvent(), remove(), and ~PCEvent().


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

Generated on Tue Jun 18 2024 16:24:13 for gem5 by doxygen 1.11.0