summaryrefslogtreecommitdiff
path: root/src/boot.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot.s')
-rw-r--r--src/boot.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/boot.s b/src/boot.s
index b88e8f7..6fe5ab8 100644
--- a/src/boot.s
+++ b/src/boot.s
@@ -64,8 +64,9 @@ stack_top:
.type _start, @function
_start:
call init_gdt_table
- ljmp $CODE_SEGMENT, $next
- next:
+ ljmp $CODE_SEGMENT, $code
+
+code:
movw $DATA_SEGMENT, %ax
movw %ax, %ds
movw %ax, %es