Lines Matching refs:tc
156 Statistics::setIdleProcess(Addr idlepcbb, ThreadContext *tc)
161 changeMode(themode, tc);
165 Statistics::changeMode(cpu_mode newmode, ThreadContext *tc)
174 Linux::ThreadInfo(tc).curTaskPID());
184 Statistics::mode(cpu_mode newmode, ThreadContext *tc)
186 Addr pcbb = tc->readMiscRegNoEffect(IPR_PALtemp23);
191 changeMode(newmode, tc);
195 Statistics::context(Addr oldpcbb, Addr newpcbb, ThreadContext *tc)
200 changeMode(newpcbb == idleProcess ? idle : kernel, tc);
203 Linux::ThreadInfo(tc, oldpcbb).curTaskPID(),
204 Linux::ThreadInfo(tc, newpcbb).curTaskPID());
208 Statistics::callpal(int code, ThreadContext *tc)