]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | /*\r |
2 | * $FreeBSD: src/sys/ia64/include/smp.h,v 1.10 2005/08/06 20:28:19 marcel Exp $\r | |
3 | */\r | |
4 | #ifndef _MACHINE_SMP_H_\r | |
5 | #define _MACHINE_SMP_H_\r | |
6 | \r | |
7 | #ifdef _KERNEL\r | |
8 | \r | |
9 | /*\r | |
10 | * Interprocessor interrupts for SMP. The following values are indices\r | |
11 | * into the IPI vector table. The SAL gives us the vector used for AP\r | |
12 | * wake-up. We base the other vectors on that. Keep IPI_AP_WAKEUP at\r | |
13 | * index 0 and IPI_MCA_RENDEZ at index 1. See sal.c for details.\r | |
14 | */\r | |
15 | /* Architecture specific IPIs. */\r | |
16 | #define IPI_AP_WAKEUP 0\r | |
17 | #define IPI_HIGH_FP 1\r | |
18 | #define IPI_MCA_CMCV 2\r | |
19 | #define IPI_MCA_RENDEZ 3\r | |
20 | #define IPI_TEST 4\r | |
21 | /* Machine independent IPIs. */\r | |
22 | #define IPI_AST 5\r | |
23 | #define IPI_RENDEZVOUS 6\r | |
24 | #define IPI_STOP 7\r | |
25 | \r | |
26 | #define IPI_COUNT 8\r | |
27 | \r | |
28 | #ifndef LOCORE\r | |
29 | \r | |
30 | extern int ipi_vector[];\r | |
31 | \r | |
32 | void ipi_all(int ipi);\r | |
33 | void ipi_all_but_self(int ipi);\r | |
34 | void ipi_selected(u_int64_t cpus, int ipi);\r | |
35 | void ipi_self(int ipi);\r | |
36 | void ipi_send(u_int64_t lid, int ipi);\r | |
37 | \r | |
38 | #endif /* !LOCORE */\r | |
39 | #endif /* _KERNEL */\r | |
40 | #endif /* !_MACHINE_SMP_H */\r |