smp.h revision 205234
1/* 2 * $FreeBSD: head/sys/ia64/include/smp.h 205234 2010-03-17 00:37:15Z marcel $ 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_selected(cpumask_t cpus, int ipi); 29void ipi_send(struct pcpu *, int ipi); 30 31#endif /* !LOCORE */ 32#endif /* _KERNEL */ 33#endif /* !_MACHINE_SMP_H */ 34