gem5/cpu/quiesce_event.cc
Kevin Lim de8baeb58a Move quiesce event to its own class.
SConscript:
    Move quiesce event to its own file/class.

--HG--
extra : convert_revision : 6aa7863adb529fc03142666213c3ec348825bd3b
2006-04-22 18:11:54 -04:00

20 lines
296 B
C++

#include "cpu/exec_context.hh"
#include "cpu/quiesce_event.hh"
EndQuiesceEvent::EndQuiesceEvent(ExecContext *_xc)
: Event(&mainEventQueue), xc(_xc)
{
}
void
EndQuiesceEvent::process()
{
xc->activate();
}
const char*
EndQuiesceEvent::description()
{
return "End Quiesce Event.";
}