From aa8d940e7e1cadf651054a58d6953fee03149587 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 23 Jun 2024 22:23:53 -0400 Subject: kernel/amd64: gdt: Add user CS/DS defines Signed-off-by: Ian Moffett --- sys/include/arch/amd64/gdt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include/arch') diff --git a/sys/include/arch/amd64/gdt.h b/sys/include/arch/amd64/gdt.h index ce7dd60..f87416f 100644 --- a/sys/include/arch/amd64/gdt.h +++ b/sys/include/arch/amd64/gdt.h @@ -6,6 +6,8 @@ #define KERNEL_CS 0x08 #define KERNEL_DS 0x10 +#define USER_CS 0x18 +#define USER_DS 0x20 #define GDT_TSS 5 struct __packed gdt_entry { -- cgit v1.2.3