smp.h revision 85210
1/*
2 * $FreeBSD: head/sys/ia64/include/smp.h 85210 2001-10-20 03:33:07Z marcel $
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_all(u_int64_t ipi);
26void	ipi_all_but_self(u_int64_t ipi);
27void	ipi_selected(u_int cpus, u_int64_t ipi);
28void	ipi_self(u_int64_t ipi);
29void	smp_init_secondary(void);
30
31#endif /* !LOCORE */
32#endif /* _KERNEL */
33#endif /* !_MACHINE_SMP_H */
34