4 #ifndef _MACHINE_SMP_H_
5 #define _MACHINE_SMP_H_
9 #define IPI_AST ia64_ipi_ast
10 #define IPI_HARDCLOCK ia64_ipi_hardclock
11 #define IPI_PREEMPT ia64_ipi_preempt
12 #define IPI_RENDEZVOUS ia64_ipi_rndzvs
13 #define IPI_STOP ia64_ipi_stop
14 #define IPI_STOP_HARD ia64_ipi_nmi
18 #include <sys/_cpuset.h>
22 struct ia64_ap_state {
24 uint64_t as_pgtbl_pte;
25 uint64_t as_pgtbl_itir;
28 uint64_t as_text_itir;
31 uint64_t as_data_itir;
35 volatile int as_delay;
36 volatile u_int as_awake;
37 volatile u_int as_spin;
40 extern int ia64_ipi_ast;
41 extern int ia64_ipi_hardclock;
42 extern int ia64_ipi_highfp;
43 extern int ia64_ipi_nmi;
44 extern int ia64_ipi_preempt;
45 extern int ia64_ipi_rndzvs;
46 extern int ia64_ipi_stop;
47 extern int ia64_ipi_wakeup;
49 void ipi_all_but_self(int ipi);
50 void ipi_cpu(int cpu, u_int ipi);
51 void ipi_selected(cpuset_t cpus, int ipi);
52 void ipi_send(struct pcpu *, int ipi);
56 #endif /* !_MACHINE_SMP_H */