aboutsummaryrefslogtreecommitdiff
path: root/src/boot/boot.S
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-09 18:18:15 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-09 18:18:15 +0200
commitc6aa00eea71c91a219dae8688530ff0a3b83bcd4 (patch)
treee2f4d26362e8a57b5fba1a3392b947b95cb40039 /src/boot/boot.S
parentdeabd68158b865f2bcf928c604d6c46f73832d0a (diff)
Enable TSS segment
Diffstat (limited to 'src/boot/boot.S')
-rw-r--r--src/boot/boot.S4
1 files changed, 4 insertions, 0 deletions
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