summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-12-10 17:47:28 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-12-10 17:47:28 -0800
commit4ce6118fdac16cfdc0d945e8793ace3379779288 (patch)
tree73d1b9ca10a321d4b022177396262a9386a36f42 /sim
parentdb6038937d126ec11e7745a1182c69f79b92f41f (diff)
downloadgem5-4ce6118fdac16cfdc0d945e8793ace3379779288.tar.xz
Factor ExecContext::setStatus(), BaseCPU::execCtxStatusChange(),
and SimpleCPU::setStatus() into separate functions. For example, setStatus(Active) is now activate(). --HG-- extra : convert_revision : 4392e07caf6c918db0b535f613175109681686fe
Diffstat (limited to 'sim')
-rw-r--r--sim/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/process.cc b/sim/process.cc
index bb4333896..0d7c3403d 100644
--- a/sim/process.cc
+++ b/sim/process.cc
@@ -149,7 +149,7 @@ Process::registerExecContext(ExecContext *xc)
xc->regs = *init_regs;
// mark this context as active
- xc->setStatus(ExecContext::Active);
+ xc->activate();
}
// return CPU number to caller and increment available CPU count