quiesce_event.hh revision 2290
1#ifndef __CPU_QUIESCE_EVENT_HH__
2#define __CPU_QUIESCE_EVENT_HH__
3
4#include "sim/eventq.hh"
5
6class ExecContext;
7
8/** Event for timing out quiesce instruction */
9struct EndQuiesceEvent : public Event
10{
11    /** A pointer to the execution context that is quiesced */
12    ExecContext *xc;
13
14    EndQuiesceEvent(ExecContext *_xc);
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