smp.h revision 76078
1/* 2 * $FreeBSD: head/sys/ia64/include/smp.h 76078 2001-04-27 19:28:25Z jhb $ 3 */ 4#ifndef _MACHINE_SMP_H_ 5#define _MACHINE_SMP_H_ 6 7#ifdef _KERNEL 8 9/* 10 * Interprocessor interrupts for SMP. 11 */ 12#define IPI_INVLTLB 0x0001 13#define IPI_RENDEZVOUS 0x0002 14#define IPI_AST 0x0004 15#define IPI_CHECKSTATE 0x0008 16#define IPI_STOP 0x0010 17 18#ifndef LOCORE 19 20/* global data in mp_machdep.c */ 21extern volatile u_int checkstate_probed_cpus; 22extern volatile u_int checkstate_need_ast; 23extern volatile u_int resched_cpus; 24 25void ipi_selected(u_int cpus, u_int ipi); 26void ipi_all(u_int ipi); 27void ipi_all_but_self(u_int ipi); 28void ipi_self(u_int ipi); 29void smp_init_secondary(void); 30 31#endif /* !LOCORE */ 32#endif /* _KERNEL */ 33#endif /* !_MACHINE_SMP_H */ 34