summaryrefslogtreecommitdiff
path: root/src/cpu/quiesce_event.cc
blob: 664a7aa010c4273fb57d36e388a79010dc287046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include "cpu/thread_context.hh"
#include "cpu/quiesce_event.hh"

EndQuiesceEvent::EndQuiesceEvent(ThreadContext *_tc)
    : Event(&mainEventQueue), tc(_tc)
{
}

void
EndQuiesceEvent::process()
{
    tc->activate();
}

const char*
EndQuiesceEvent::description()
{
    return "End Quiesce Event.";
}