18e88ecce6edf62018142f3fcd9a32745c785bd3
[gem5.git] / src / cpu / quiesce_event.hh
1 #ifndef __CPU_QUIESCE_EVENT_HH__
2 #define __CPU_QUIESCE_EVENT_HH__
3
4 #include "sim/eventq.hh"
5
6 class ExecContext;
7
8 /** Event for timing out quiesce instruction */
9 struct 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__