gem5  v21.1.0.2
Public Member Functions | Protected Attributes | List of all members
gem5::PCEvent Class Referenceabstract

#include <pc_event.hh>

Inheritance diagram for gem5::PCEvent:
gem5::ArmISA::DumpStats gem5::BreakPCEvent gem5::HardBreakpoint gem5::IdleStartEvent gem5::linux::DmesgDump gem5::linux::KernelPanic gem5::PanicPCEvent gem5::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 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

Definition at line 61 of file pc_event.hh.

References evpc.

Referenced by gem5::PCEventQueue::doService(), and gem5::HardBreakpoint::process().

◆ process()

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

◆ 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 Sep 21 2021 12:27:55 for gem5 by doxygen 1.8.17