From 912d2e3c7eb1baa71dda2c0a28aa5809eaa96f27 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 16 Jul 2022 13:33:00 +0200 Subject: amd64: barely boot into kernel code --- src/kernel/arch/i386/gdt.h | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/kernel/arch/i386/gdt.h (limited to 'src/kernel/arch/i386/gdt.h') diff --git a/src/kernel/arch/i386/gdt.h b/src/kernel/arch/i386/gdt.h deleted file mode 100644 index 5e40cd7..0000000 --- a/src/kernel/arch/i386/gdt.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once - -enum { - SEG_null, - // order dictated by SYSENTER - SEG_r0code, - SEG_r0data, - SEG_r3code, - SEG_r3data, - SEG_TSS, - - SEG_end -}; - -void gdt_init(void); -void gdt_farjump(int segment); -- cgit v1.2.3