summaryrefslogtreecommitdiff
path: root/cpu/quiesce_event.hh
blob: 18e88ecce6edf62018142f3fcd9a32745c785bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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__