Lines Matching refs:cpu_id
222 int cpu_id;
227 cpu_id = bits(data, 12,8);
229 generateIpi(type,cpu_id, vector);
278 Iob::generateIpi(Type type, int cpu_id, int vector)
281 if (cpu_id >= sys->numContexts())
287 cpu_id, vector);
288 ic->post(cpu_id, SparcISA::IT_INT_VEC, vector);
291 warn("Sending reset to CPU: %d\n", cpu_id);
294 por->invoke(sys->threadContexts[cpu_id]);
295 sys->threadContexts[cpu_id]->activate();
298 DPRINTF(Iob, "Idling CPU because of I/O write cpu: %d\n", cpu_id);
299 sys->threadContexts[cpu_id]->halt();
302 DPRINTF(Iob, "Resuming CPU because of I/O write cpu: %d\n", cpu_id);
303 sys->threadContexts[cpu_id]->activate();
311 Iob::receiveJBusInterrupt(int cpu_id, int source, uint64_t d0, uint64_t d1)
315 if (jIntBusy[cpu_id].busy)
319 source, cpu_id, jIntVec);
321 jIntBusy[cpu_id].busy = true;
322 jIntBusy[cpu_id].source = source;
323 jBusData0[cpu_id] = d0;
324 jBusData1[cpu_id] = d1;
326 ic->post(cpu_id, SparcISA::IT_INT_VEC, jIntVec);