Factor ExecContext::setStatus(), BaseCPU::execCtxStatusChange(),

and SimpleCPU::setStatus() into separate functions.  For example,
setStatus(Active) is now activate().

--HG--
extra : convert_revision : 4392e07caf6c918db0b535f613175109681686fe
This commit is contained in:
Steve Reinhardt
2003-12-10 17:47:28 -08:00
parent db6038937d
commit 4ce6118fda
11 changed files with 142 additions and 91 deletions

View File

@@ -158,7 +158,7 @@ AlphaConsole::write(MemReqPtr req, const uint8_t *data)
other_xc->regs.ipr[TheISA::IPR_PALtemp16] = cpu;
other_xc->regs.intRegFile[0] = cpu;
other_xc->regs.intRegFile[30] = alphaAccess->bootStrapImpure;
other_xc->setStatus(ExecContext::Active); //Start the cpu
other_xc->activate(); //Start the cpu
return No_Fault;
}