diff options
author | Ian Moffett <ian@osmora.org> | 2025-09-26 23:42:10 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-09-26 23:45:48 -0400 |
commit | 01dae750edc685b1a0c49c6b27fd5466b0f0ac31 (patch) | |
tree | 4b7a6469b5b76342b630c5dfa3f317be9ad81432 /src/sys/include/arch/amd64/mdcpu.h | |
parent | a5ea47adbcacf70c24dbc00371e239d455e1764b (diff) |
kern/amd64: cpu: Add CPU halt ISR for IPIs
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/arch/amd64/mdcpu.h')
-rw-r--r-- | src/sys/include/arch/amd64/mdcpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/include/arch/amd64/mdcpu.h b/src/sys/include/arch/amd64/mdcpu.h index b9d5e72..ddc0da2 100644 --- a/src/sys/include/arch/amd64/mdcpu.h +++ b/src/sys/include/arch/amd64/mdcpu.h @@ -35,6 +35,8 @@ #include <machine/tss.h> #include <machine/gdt.h> +#define HALT_VECTOR 0x90 + #define md_spinwait() __ASMV("pause") #define md_intoff() __ASMV("cli") #define md_inton() __ASMV("sti") |