Lines Matching refs:thread
89 thread = new SimpleThread(this, 0, params->system, params->itb, params->dtb,
92 thread = new SimpleThread(this, /* thread_num */ 0, params->system,
96 thread->setStatus(ThreadContext::Halted);
97 tc = thread->getTC();
165 thread->startup();
243 // Do thread-specific initialization. We need to setup signal
244 // delivery for counters and timers from within the thread that
332 DPRINTF(Checkpoint, "KVM: Serializing thread %i:\n", tid);
338 thread->serialize(cp);
344 DPRINTF(Checkpoint, "KVM: Unserialize thread %i:\n", tid);
348 thread->unserialize(cp);
363 // synchronize the thread context.
389 // Sync the thread context here since we'll need it when we
437 // process. Re-schedule it if the thread context is active.
526 if (thread->status() != ThreadContext::Suspended)
529 thread->activate();
538 assert(thread);
543 numCycles += ticksToCycles(thread->lastActivate - thread->lastSuspend);
556 assert(thread);
671 // Entering into KVM implies that we'll have to reload the thread
673 // dirty with respect to the cached thread context.
745 // Send a KVM_KICK_SIGNAL to the vCPU thread (i.e., this
746 // thread). The KVM control signal is masked while executing
767 // other threads to steal control of this thread to inject
1023 // Suspend the thread until the next interrupt arrives
1024 thread->suspend();
1026 // This is actually ignored since the thread is suspended.
1117 ThreadContext *tc(thread->getTC());