summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64/include')
-rw-r--r--sys/ia64/include/cpu.h2
-rw-r--r--sys/ia64/include/smp.h21
2 files changed, 13 insertions, 10 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h
index c97450d..5169f37 100644
--- a/sys/ia64/include/cpu.h
+++ b/sys/ia64/include/cpu.h
@@ -136,7 +136,7 @@ void fork_trampoline(void); /* MAGIC */
void syscall(int, u_int64_t *, struct trapframe *);
void trap(int vector, int imm, struct trapframe *framep);
void ia64_probe_sapics(void);
-int ia64_count_aps(void);
+int ia64_count_cpus(void);
void map_pal_code(void);
void cpu_mp_add(uint, uint, uint);
diff --git a/sys/ia64/include/smp.h b/sys/ia64/include/smp.h
index ba6677f..e985fc0 100644
--- a/sys/ia64/include/smp.h
+++ b/sys/ia64/include/smp.h
@@ -10,20 +10,23 @@
* Interprocessor interrupts for SMP. The following values are indices
* into the IPI vector table. The SAL gives us the vector used for AP
* wake-up. We base the other vectors on that. Keep IPI_AP_WAKEUP at
- * index 0.
+ * index 0 and IPI_MCA_RENDEZ at index 1. See sal.c for details.
*/
-#define IPI_AP_WAKEUP 0 /* ia64 specific */
-#define IPI_AST 1
-#define IPI_RENDEZVOUS 2
-#define IPI_STOP 3
-#define IPI_TEST 4 /* ia64 specific */
+/* Architecture specific IPIs. */
+#define IPI_AP_WAKEUP 0
+#define IPI_MCA_RENDEZ 1
+#define IPI_MCA_CMCV 2
+#define IPI_TEST 3
+/* Machine independent IPIs. */
+#define IPI_AST 4
+#define IPI_RENDEZVOUS 5
+#define IPI_STOP 6
-#define IPI_COUNT 5
+#define IPI_COUNT 7
#ifndef LOCORE
-extern int mp_hardware;
-extern int mp_ipi_vector[];
+extern int ipi_vector[];
void ipi_all(int ipi);
void ipi_all_but_self(int ipi);
OpenPOWER on IntegriCloud