aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/proc.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-29 14:36:40 +0200
committerMarvin Borner2021-04-29 14:36:40 +0200
commitf8e47b6b0c0578c52d82c0e243620361b87a4abe (patch)
treee42d898d299b7aa10c8f266d347b4fda5a5967f3 /kernel/inc/proc.h
parent04104fc051d44f4f9b3328f29b4be91fa4060f34 (diff)
Multiboot/Grub progress
Diffstat (limited to 'kernel/inc/proc.h')
-rw-r--r--kernel/inc/proc.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h
index 877e53e..e74286c 100644
--- a/kernel/inc/proc.h
+++ b/kernel/inc/proc.h
@@ -15,11 +15,6 @@
#define EFLAGS_ALWAYS 0x2 // Always one
#define EFLAGS_INTERRUPTS 0x200 // Enable interrupts
-#define GDT_SUPER_CODE_OFFSET 0x08 // Super (kernel) code segment offset in GDT
-#define GDT_SUPER_DATA_OFFSET 0x10 // Super (kernel) data segment offset in GDT
-#define GDT_USER_CODE_OFFSET 0x1b // User code segment offset in GDT (with ring3 mask)
-#define GDT_USER_DATA_OFFSET 0x23 // User data segment offset in GDT (with ring3 mask)
-
#define RING(regs) ((regs->cs) & 3)
enum proc_priv { PROC_PRIV_NONE, PROC_PRIV_ROOT, PROC_PRIV_KERNEL };