summaryrefslogtreecommitdiff
path: root/sys/include/arch
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-30 20:41:44 -0400
committerIan Moffett <ian@osmora.org>2024-04-30 20:41:44 -0400
commit130ef7a34df14a57097a273867bc2bb5816d5f49 (patch)
treee4e33b29b2e713e794ed1caefcc0af13d3a6000a /sys/include/arch
parent1586c50040f6d40630a0c9215575190103c4270f (diff)
kernel/amd64: machdep: Add cpu_halt_others()
Halts all other processors except self Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch')
-rw-r--r--sys/include/arch/amd64/sysvec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/sysvec.h b/sys/include/arch/amd64/sysvec.h
index 81383ea..8feecb7 100644
--- a/sys/include/arch/amd64/sysvec.h
+++ b/sys/include/arch/amd64/sysvec.h
@@ -41,6 +41,7 @@
typedef enum {
SYSVEC_LAPIC_TIMER = 0x21, /* Local APIC timer */
SYSVEC_IPI, /* IPI vector */
+ SYSVEC_HLT, /* Halt vector */
/* -- XXX: New vectors go above -- */
NSYSVEC_BASE, /* Non-system vector base */