3 #ifndef _MACHINE_SMP_H_
4 #define _MACHINE_SMP_H_
6 #include <sys/_cpuset.h>
7 #include <machine/pcb.h>
14 IPI_STOP_HARD = IPI_STOP, /* These are synonyms on arm. */
16 IPI_TLB, /* Not used now, but keep it reserved. */
17 IPI_CACHE, /* Not used now, but keep it reserved. */
21 void init_secondary(int cpu);
24 void ipi_all_but_self(u_int ipi);
25 void ipi_cpu(int cpu, u_int ipi);
26 void ipi_selected(cpuset_t cpus, u_int ipi);
28 /* Platform interface */
29 void platform_mp_setmaxid(void);
30 void platform_mp_start_ap(void);
32 /* global data in mp_machdep.c */
33 extern struct pcb stoppcbs[];
35 #endif /* !_MACHINE_SMP_H_ */