gem5  v22.1.0.0
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::IdleStartEvent gem5::PanicPCEvent gem5::SkipFuncBase gem5::linux::DmesgDump gem5::linux::KernelPanic

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
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 

Definition at line 133 of file pc_event.hh.

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

◆ ~PCEvent()

virtual gem5::PCEvent::~PCEvent ( )

Definition at line 55 of file pc_event.hh.

References remove(), and scope.

Member Function Documentation

◆ descr()

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

◆ name()

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

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

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 ( )

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

Definition at line 48 of file pc_event.hh.

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

◆ evpc

Addr gem5::PCEvent::evpc

Definition at line 50 of file pc_event.hh.

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

◆ scope

PCEventScope* gem5::PCEvent::scope

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 Wed Dec 21 2022 10:23:13 for gem5 by doxygen 1.9.1