From c6aa00eea71c91a219dae8688530ff0a3b83bcd4 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 9 Apr 2021 18:18:15 +0200 Subject: Enable TSS segment --- src/boot/boot.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/boot/boot.S') diff --git a/src/boot/boot.S b/src/boot/boot.S index 77b04c0..ba25a84 100644 --- a/src/boot/boot.S +++ b/src/boot/boot.S @@ -67,6 +67,10 @@ movw $0x18, %ax movw %ax, %ss movl $0x50000,%esp +# Load +mov $0x38, %eax +ltr %ax + # Start kernel main function call bringelle -- cgit v1.2.3