Change ExecContext to ThreadContext. This is being renamed to differentiate between...
[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 ThreadContext;
7
8 /** Event for timing out quiesce instruction */
9 struct 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__