Lines Matching refs:tc
316 BaseCPU::mwaitAtomic(ThreadID tid, ThreadContext *tc, BaseTLB *dtb)
334 req->setVirt(0, addr, size, 0x0, dataMasterId(), tc->instAddr());
337 Fault fault = dtb->translateAtomic(req, tc, BaseTLB::Read);
475 ThreadContext *tc = threadContexts[tid];
478 tc->setContextId(system->registerThreadContext(tc));
480 tc->setContextId(system->registerThreadContext(tc, _cpuId));
484 tc->getProcessPtr()->assignThreadContext(tc->contextId());
499 for (auto tc : threadContexts) {
500 if (tc->status() == ThreadContext::Active)
514 BaseCPU::findContext(ThreadContext *tc)
518 if (tc == threadContexts[tid])
689 ThreadContext &tc(*threadContexts[i]);
690 CheckerCPU *checker(tc.getCheckerCpuPtr());
692 tc.getITBPtr()->flushAll();
693 tc.getDTBPtr()->flushAll();