From 4ce6118fdac16cfdc0d945e8793ace3379779288 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 10 Dec 2003 17:47:28 -0800 Subject: Factor ExecContext::setStatus(), BaseCPU::execCtxStatusChange(), and SimpleCPU::setStatus() into separate functions. For example, setStatus(Active) is now activate(). --HG-- extra : convert_revision : 4392e07caf6c918db0b535f613175109681686fe --- sim/process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/process.cc') 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 -- cgit v1.2.3