summaryrefslogtreecommitdiff
path: root/sys/include/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/arch')
-rw-r--r--sys/include/arch/amd64/ipi.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/include/arch/amd64/ipi.h b/sys/include/arch/amd64/ipi.h
index 452d006..48243e7 100644
--- a/sys/include/arch/amd64/ipi.h
+++ b/sys/include/arch/amd64/ipi.h
@@ -34,9 +34,16 @@
#include <machine/cpu.h>
#include <machine/lapic.h>
+/*
+ * IPI_VECTOR is the main vector used for all misc
+ * IPIs, the HALT_VECTOR is used to slam the system
+ * to a screetching halt.
+ */
+#define IPI_VECTOR 0x21
+#define HALT_VECTOR 0x22
+
/* Fixed IPI IDs */
-#define IPI_HALT 0
-#define IPI_TLB 1
+#define IPI_TLB 0
/*
* Represents an interprocessor interrupt