32 #ifndef __PC_EVENT_HH__
33 #define __PC_EVENT_HH__
73 return l->
pc() < r->
pc();
120 : description(desc), queue(q), evpc(pc)
129 panic(
"cannot remove an uninitialized event;");
156 #endif // __PC_EVENT_HH__
bool operator()(const record_t &l, const record_t &r) const
bool doService(ThreadContext *tc)
map_t::const_iterator const_iterator
bool operator()(const record_t &l, Addr pc) const
void sched_break_pc(Addr addr)
void sched_break_pc_sys(System *sys, Addr addr)
virtual void process(ThreadContext *tc)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
std::vector< record_t > map_t
bool service(ThreadContext *tc)
std::pair< iterator, iterator > range_t
std::string descr() const
virtual const std::string name() const
range_t equal_range(PCEvent *event)
range_t equal_range(Addr pc)
PanicPCEvent(PCEventQueue *q, const std::string &desc, Addr pc)
bool schedule(PCEvent *event)
BreakPCEvent(PCEventQueue *q, const std::string &desc, Addr addr, bool del=false)
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
bool operator()(Addr pc, const record_t &r) const
std::pair< const_iterator, const_iterator > const_range_t
virtual void process(ThreadContext *tc)=0
PCEvent(PCEventQueue *q, const std::string &desc, Addr pc)
virtual void process(ThreadContext *tc)
bool remove(PCEvent *event)