4 #ifndef _MACHINE_SMP_H_
5 #define _MACHINE_SMP_H_
10 * Interprocessor interrupts for SMP. The following values are indices
11 * into the IPI vector table. The SAL gives us the vector used for AP
12 * wake-up. We base the other vectors on that. Keep IPI_AP_WAKEUP at
13 * index 0. See sal.c for details.
15 /* Architecture specific IPIs. */
16 #define IPI_AP_WAKEUP 0
18 #define IPI_MCA_CMCV 2
19 #define IPI_MCA_RENDEZ 3
21 /* Machine independent IPIs. */
23 #define IPI_RENDEZVOUS 6
33 extern int ipi_vector[];
35 void ipi_all(int ipi);
36 void ipi_all_but_self(int ipi);
37 void ipi_selected(cpumask_t cpus, int ipi);
38 void ipi_self(int ipi);
39 void ipi_send(struct pcpu *, int ipi);
43 #endif /* !_MACHINE_SMP_H */