diff options
author | Ian Moffett <ian@osmora.org> | 2025-06-01 19:57:29 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-06-01 19:57:29 -0400 |
commit | 7fb5702f6625b181dd61cd4bd59c45b16bb3983a (patch) | |
tree | e673ea1c221bc962c4cf5f5b35222f691c4f8c26 /sys | |
parent | 5db045b59b42471928a51d8f7501291b3750928a (diff) |
kernel/amd64: Only use HALT_VECTOR
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 3381437..19918b7 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -52,8 +52,6 @@ #define SPECTRE_IBRS 0 #endif -static uint8_t halt_vector = 0; - int ibrs_enable(void); void syscall_isr(void); void pin_isr_load(void); @@ -166,7 +164,7 @@ cpu_halt_all(void) } /* Send IPI to all cores */ - lapic_send_ipi(0, IPI_SHORTHAND_ALL, halt_vector); + lapic_send_ipi(0, IPI_SHORTHAND_ALL, HALT_VECTOR); for (;;); } |