]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/ia64/include/smp.h
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / ia64 / include / smp.h
1 /*
2  * $FreeBSD$
3  */
4 #ifndef _MACHINE_SMP_H_
5 #define _MACHINE_SMP_H_
6
7 #ifdef _KERNEL
8
9 #define IPI_AST                 ia64_ipi_ast
10 #define IPI_PREEMPT             ia64_ipi_preempt
11 #define IPI_RENDEZVOUS          ia64_ipi_rndzvs
12 #define IPI_STOP                ia64_ipi_stop
13 #define IPI_STOP_HARD           ia64_ipi_nmi
14
15 #ifndef LOCORE
16
17 struct pcpu;
18
19 extern int ia64_ipi_ast;
20 extern int ia64_ipi_highfp;
21 extern int ia64_ipi_nmi;
22 extern int ia64_ipi_preempt;
23 extern int ia64_ipi_rndzvs;
24 extern int ia64_ipi_stop;
25 extern int ia64_ipi_wakeup;
26
27 void    ipi_all_but_self(int ipi);
28 void    ipi_selected(cpumask_t cpus, int ipi);
29 void    ipi_send(struct pcpu *, int ipi);
30
31 #endif /* !LOCORE */
32 #endif /* _KERNEL */
33 #endif /* !_MACHINE_SMP_H */