de8baeb58a
SConscript: Move quiesce event to its own file/class. --HG-- extra : convert_revision : 6aa7863adb529fc03142666213c3ec348825bd3b
23 lines
508 B
C++
23 lines
508 B
C++
#ifndef __CPU_QUIESCE_EVENT_HH__
|
|
#define __CPU_QUIESCE_EVENT_HH__
|
|
|
|
#include "sim/eventq.hh"
|
|
|
|
class ExecContext;
|
|
|
|
/** Event for timing out quiesce instruction */
|
|
struct EndQuiesceEvent : public Event
|
|
{
|
|
/** A pointer to the execution context that is quiesced */
|
|
ExecContext *xc;
|
|
|
|
EndQuiesceEvent(ExecContext *_xc);
|
|
|
|
/** Event process to occur at interrupt*/
|
|
virtual void process();
|
|
|
|
/** Event description */
|
|
virtual const char *description();
|
|
};
|
|
|
|
#endif // __CPU_QUIESCE_EVENT_HH__
|