summaryrefslogtreecommitdiff
path: root/kernel/src/boot/boot64.S
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/boot/boot64.S')
-rw-r--r--kernel/src/boot/boot64.S13
1 files changed, 6 insertions, 7 deletions
diff --git a/kernel/src/boot/boot64.S b/kernel/src/boot/boot64.S
index e95f55b..8231b3e 100644
--- a/kernel/src/boot/boot64.S
+++ b/kernel/src/boot/boot64.S
@@ -6,13 +6,12 @@
.global begin_long_mode
begin_long_mode:
-// xchgw %bx, %bx
-// mov $0x10, %ax
-// mov %ax, %ds
-// mov %ax, %es
-// mov %ax, %ss
-// mov %ax, %fs
-// mov %ax, %gs
+ mov $0x10, %ax
+ mov %ax, %ds
+ mov %ax, %es
+ mov %ax, %ss
+ mov %ax, %fs
+ mov %ax, %gs
add $KERNEL_VMA, %rsp
movabs $jump_main, %rax