summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/gdt.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-06 17:46:39 -0400
committerIan Moffett <ian@osmora.org>2024-06-06 17:46:39 -0400
commita84cacff59d6e31c05b6f9eddebf28dbb418b303 (patch)
tree56fbaff4d43240c8dcd7c256b9254e18b06d8b18 /sys/include/arch/amd64/gdt.h
parent79afbbb41dee4bb24d2cad8234beacbd7a7e7a9b (diff)
kernel/amd64: tss: Add support for TSS
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/arch/amd64/gdt.h')
-rw-r--r--sys/include/arch/amd64/gdt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/gdt.h b/sys/include/arch/amd64/gdt.h
index 6f8a914..ce7dd60 100644
--- a/sys/include/arch/amd64/gdt.h
+++ b/sys/include/arch/amd64/gdt.h
@@ -6,6 +6,7 @@
#define KERNEL_CS 0x08
#define KERNEL_DS 0x10
+#define GDT_TSS 5
struct __packed gdt_entry {
uint16_t limit;