summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/first_stage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/inorder/first_stage.cc')
-rw-r--r--src/cpu/inorder/first_stage.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cpu/inorder/first_stage.cc b/src/cpu/inorder/first_stage.cc
index 20fd9169f..f59e89410 100644
--- a/src/cpu/inorder/first_stage.cc
+++ b/src/cpu/inorder/first_stage.cc
@@ -277,3 +277,13 @@ FirstStage::roundRobin()
return InvalidThreadID;
}
+
+void
+FirstStage::takeOverFrom()
+{
+ PipelineStage::takeOverFrom();
+
+ for(ThreadID tid = 0; tid < this->numThreads; tid++) {
+ stageStatus[tid] = Running;
+ }
+}