smp.h revision 210939
1/*
2 * $FreeBSD: head/sys/ia64/include/smp.h 210939 2010-08-06 15:36:59Z jhb $
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
17struct pcpu;
18
19extern int ia64_ipi_ast;
20extern int ia64_ipi_highfp;
21extern int ia64_ipi_nmi;
22extern int ia64_ipi_preempt;
23extern int ia64_ipi_rndzvs;
24extern int ia64_ipi_stop;
25extern int ia64_ipi_wakeup;
26
27void	ipi_all_but_self(int ipi);
28void	ipi_cpu(int cpu, u_int ipi);
29void	ipi_selected(cpumask_t cpus, int ipi);
30void	ipi_send(struct pcpu *, int ipi);
31
32#endif /* !LOCORE */
33#endif /* _KERNEL */
34#endif /* !_MACHINE_SMP_H */
35