quiesce_event.hh revision 2680
12290SN/A#ifndef __CPU_QUIESCE_EVENT_HH__ 22290SN/A#define __CPU_QUIESCE_EVENT_HH__ 32290SN/A 42290SN/A#include "sim/eventq.hh" 52290SN/A 62680Sktlim@umich.educlass ThreadContext; 72290SN/A 82290SN/A/** Event for timing out quiesce instruction */ 92290SN/Astruct EndQuiesceEvent : public Event 102290SN/A{ 112680Sktlim@umich.edu /** A pointer to the thread context that is quiesced */ 122680Sktlim@umich.edu ThreadContext *tc; 132290SN/A 142680Sktlim@umich.edu EndQuiesceEvent(ThreadContext *_tc); 152290SN/A 162290SN/A /** Event process to occur at interrupt*/ 172290SN/A virtual void process(); 182290SN/A 192290SN/A /** Event description */ 202290SN/A virtual const char *description(); 212290SN/A}; 222290SN/A 232290SN/A#endif // __CPU_QUIESCE_EVENT_HH__ 24