gem5  v20.1.0.0
Public Member Functions | Protected Attributes | List of all members
PCEvent Class Referenceabstract

#include <pc_event.hh>

Inheritance diagram for PCEvent:
ArmISA::DumpStats BreakPCEvent HardBreakpoint IdleStartEvent Linux::DmesgDump Linux::KernelPanic PanicPCEvent SkipFuncBase

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 42 of file pc_event.hh.

Constructor & Destructor Documentation

◆ PCEvent()

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

Definition at line 129 of file pc_event.hh.

References PCEventScope::schedule(), and scope.

◆ ~PCEvent()

virtual PCEvent::~PCEvent ( )
inlinevirtual

Definition at line 52 of file pc_event.hh.

References remove(), and scope.

Member Function Documentation

◆ descr()

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

◆ name()

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

Reimplemented in HardBreakpoint.

Definition at line 55 of file pc_event.hh.

References description.

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

◆ pc()

Addr PCEvent::pc ( ) const
inline

Definition at line 58 of file pc_event.hh.

References evpc.

Referenced by PCEventQueue::doService().

◆ process()

virtual void PCEvent::process ( ThreadContext tc)
pure virtual

◆ remove()

bool PCEvent::remove ( )
inline

Definition at line 136 of file pc_event.hh.

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

Referenced by ~PCEvent().

Member Data Documentation

◆ description

std::string PCEvent::description
protected

Definition at line 45 of file pc_event.hh.

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

◆ evpc

Addr PCEvent::evpc
protected

Definition at line 47 of file pc_event.hh.

Referenced by pc().

◆ scope

PCEventScope* PCEvent::scope
protected

Definition at line 46 of file pc_event.hh.

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


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

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