Lines Matching defs:thread

59  * single thread's state and some general CPU state.  Any time
78 /** Pointer to the thread state that this TC corrseponds to. */
79 O3ThreadState<Impl> *thread;
92 return cpu->isa[thread->threadId()];
98 return cpu->fetch.decoder[thread->threadId()];
110 ContextID contextId() const override { return thread->contextId(); }
112 void setContextId(ContextID id) override { thread->setContextId(id); }
114 /** Returns this thread's ID number. */
115 int threadId() const override { return thread->threadId(); }
116 void setThreadId(int id) override { return thread->setThreadId(id); }
121 /** Returns a pointer to this thread's kernel statistics. */
125 return thread->kernelStats;
128 /** Returns a pointer to this thread's process. */
129 Process *getProcessPtr() override { return thread->getProcessPtr(); }
131 void setProcessPtr(Process *p) override { thread->setProcessPtr(p); }
133 PortProxy &getPhysProxy() override { return thread->getPhysProxy(); }
140 thread->initMemProxies(tc);
143 /** Returns this thread's status. */
144 Status status() const override { return thread->status(); }
146 /** Sets this thread's status. */
150 thread->setStatus(new_status);
167 /** Takes over execution of a thread from another CPU. */
173 /** Reads the last tick that this thread was activated on. */
175 /** Reads the last tick that this thread was suspended on. */
350 /** Reads this thread's PC state. */
354 return cpu->pcState(thread->threadId());
357 /** Sets this thread's PC state. */
362 /** Reads this thread's PC. */
366 return cpu->instAddr(thread->threadId());
369 /** Reads this thread's next PC. */
373 return cpu->nextInstAddr(thread->threadId());
376 /** Reads this thread's next PC. */
380 return cpu->microPC(thread->threadId());
387 return cpu->readMiscRegNoEffect(misc_reg, thread->threadId());
395 return cpu->readMiscReg(misc_reg, thread->threadId());
412 return thread->storeCondFailures;
419 thread->storeCondFailures = sc_failures;
426 return cpu->syscall(callnum, thread->threadId(), fault);
430 Counter readFuncExeInst() const override { return thread->funcExeInst; }
436 return this->thread->quiesceEvent;
440 * similar is currently writing to the thread context and doesn't want
446 if (!thread->trapPending && !thread->noSquashFromTC)
447 cpu->squashFromTC(thread->threadId());
466 thread->threadId());
473 cpu->template setArchVecLane(idx, lId, thread->threadId(), val);