summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/pipeline_stage.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2010-01-31 18:27:38 -0500
committerKorey Sewell <ksewell@umich.edu>2010-01-31 18:27:38 -0500
commit90d3b45a566847fe15095b92238e32973ad9cc0e (patch)
tree9deb58c0889ec67a5aefdf66cf90c1cd9c311b04 /src/cpu/inorder/pipeline_stage.hh
parent3eb04b4ad73cb66e86d09ffd5989a93d9f62b299 (diff)
downloadgem5-90d3b45a566847fe15095b92238e32973ad9cc0e.tar.xz
inorder: ready thread wakeup
allow a thread to wakeup and be activated after it has been in suspended state and another thread is switched out. Need to give pipeline stages a "activateThread" function so that can get to their suspended instruction when the time is right.
Diffstat (limited to 'src/cpu/inorder/pipeline_stage.hh')
-rw-r--r--src/cpu/inorder/pipeline_stage.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/inorder/pipeline_stage.hh b/src/cpu/inorder/pipeline_stage.hh
index f10906e4c..dfe1ac7c3 100644
--- a/src/cpu/inorder/pipeline_stage.hh
+++ b/src/cpu/inorder/pipeline_stage.hh
@@ -235,6 +235,8 @@ class PipelineStage
public:
+ virtual void activateThread(ThreadID tid);
+
/** Squashes if there is a PC-relative branch that was predicted
* incorrectly. Sends squash information back to fetch.
*/