summaryrefslogtreecommitdiff
path: root/src/sim/process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/process.cc')
-rw-r--r--src/sim/process.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sim/process.cc b/src/sim/process.cc
index e7f682aad..d3eb069dc 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -280,16 +280,6 @@ Process::regStats()
;
}
-ThreadContext *
-Process::findFreeContext()
-{
- for (auto &it : system->threadContexts) {
- if (ThreadContext::Halted == it->status())
- return it;
- }
- return nullptr;
-}
-
void
Process::revokeThreadContext(int context_id)
{