summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/gdt.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2023-12-11 22:46:45 -0500
committerIan Moffett <ian@osmora.org>2023-12-11 22:46:45 -0500
commit30495d6f06108864c151e744ec1aad98e70c3334 (patch)
treeb11dad71341da6ccf5d5a3107f2d6c623bacf96a /sys/include/arch/amd64/gdt.h
parentc9a79b6dc5deb2294e8c125bc18413408a7cee68 (diff)
kernel/amd64: Add Task State Segment
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 e5a7492..2521627 100644
--- a/sys/include/arch/amd64/gdt.h
+++ b/sys/include/arch/amd64/gdt.h
@@ -73,6 +73,7 @@ gdt_load(struct gdtr *gdtr)
}
extern struct gdt_entry g_gdt[256];
+extern struct gdt_entry *g_gdt_tss;
extern struct gdtr g_gdtr;
#endif /* !AMD64_GDT_H_ */