quiesce_event.hh revision 2680
1#ifndef __CPU_QUIESCE_EVENT_HH__
2#define __CPU_QUIESCE_EVENT_HH__
3
4#include "sim/eventq.hh"
5
6class ThreadContext;
7
8/** Event for timing out quiesce instruction */
9struct EndQuiesceEvent : public Event
10{
11    /** A pointer to the thread context that is quiesced */
12    ThreadContext *tc;
13
14    EndQuiesceEvent(ThreadContext *_tc);
15
16    /** Event process to occur at interrupt*/
17    virtual void process();
18
19    /** Event description */
20    virtual const char *description();
21};
22
23#endif // __CPU_QUIESCE_EVENT_HH__
24