Lines Matching refs:cpu
21 #include <arch/cpu.h>
26 #include <cpu.h>
821 TRACE(" cpu %d: found msg %p in cpu mailbox\n", currentCPU, msg);
847 TRACE(" cpu %d: found msg %p in broadcast mailbox\n", currentCPU,
905 // the caller cpu should now free the message
921 TRACE(" cpu %ld message = %ld\n", currentCPU, msg->message);
999 process_early_cpu_call(int32 cpu)
1001 sEarlyCPUCallFunction(sEarlyCPUCallCookie, cpu);
1002 sEarlyCPUCallSet.ClearBitAtomic(cpu);
1031 smp_intercpu_int_handler(int32 cpu)
1033 TRACE("smp_intercpu_int_handler: entry on cpu %ld\n", cpu);
1035 process_all_pending_ici(cpu);
1037 TRACE("smp_intercpu_int_handler: done on cpu %ld\n", cpu);
1077 // stick it in the appropriate cpu's mailbox
1089 // wait for the other cpu to finish processing it
1185 TRACE("smp_send_broadcast_ici: cpu %ld mess 0x%lx, data 0x%lx, data2 "
1212 // stick it in the appropriate cpu's mailbox
1257 TRACE("smp_send_broadcast_ici_interrupts_disabled: cpu %ld mess 0x%lx, "
1278 // stick it in the appropriate cpu's mailbox
1318 \param cpu The index of the calling CPU.
1324 smp_trap_non_boot_cpus(int32 cpu, uint32* rendezVous)
1326 if (cpu == 0) {
1334 if (sEarlyCPUCallSet.GetBit(cpu))
1335 process_early_cpu_call(cpu);
1420 smp_per_cpu_init(kernel_args* args, int32 cpu)
1422 return arch_smp_per_cpu_init(args, cpu);
1455 return thread_get_current_thread()->cpu->cpu_num;