diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-17 00:24:02 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-17 00:31:19 -0400 |
commit | 24b850e55e1dd8c36a4b2e946b941422db17abb5 (patch) | |
tree | c3f48f84a9e8ff5b2f1fab680118ffe70dda1075 /sys/include | |
parent | a802482670de836e7b255805f6d05cd908992a34 (diff) |
kernel/amd64: Set up seperate syscall stack
It is a good idea to have a completely different stack during syscalls.
This commit implements a TSS IST entry for syscalls.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/arch/amd64/intr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/intr.h b/sys/include/arch/amd64/intr.h index 1877d20..3870f18 100644 --- a/sys/include/arch/amd64/intr.h +++ b/sys/include/arch/amd64/intr.h @@ -35,6 +35,7 @@ #define IST_SCHED 1U #define IST_HW_IRQ 2U #define IST_SW_INT 3U +#define IST_SYSCALL 4U /* Upper 4 bits of interrupt vector */ #define IPL_SHIFT 4 |