From 78dc192a1602c107e101f38372c0209e4efbe023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Mon, 18 Dec 2017 23:56:52 +0100 Subject: [PATCH] Don't load fs and gs. They have special meaning in long mode. --- src/kernel/boot/boot.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kernel/boot/boot.S b/src/kernel/boot/boot.S index d359815..4dbd047 100644 --- a/src/kernel/boot/boot.S +++ b/src/kernel/boot/boot.S @@ -104,8 +104,6 @@ _start: mov ss, eax mov ds, eax mov es, eax - mov fs, eax - mov gs, eax //; Loop infinitely jmp $