de8baeb58a
SConscript: Move quiesce event to its own file/class. --HG-- extra : convert_revision : 6aa7863adb529fc03142666213c3ec348825bd3b
20 lines
296 B
C++
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.";
|
|
}
|