summaryrefslogtreecommitdiff
path: root/src/as/boot.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/as/boot.s')
-rw-r--r--src/as/boot.s32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/as/boot.s b/src/as/boot.s
index 68e5947..907cd3c 100644
--- a/src/as/boot.s
+++ b/src/as/boot.s
@@ -3,7 +3,7 @@
.set FLAGS, ALIGN | MEMINFO
.set MAGIC, 0x1BADB002
.set CHECKSUM, -(MAGIC + FLAGS)
-
+
.section .multiboot
.align 4
.long MAGIC
@@ -51,20 +51,20 @@ stack_top:
.section .text
.type _start, @function
_start:
- call init_gdt_table
- ljmp $CODE_SEGMENT, $code
-
+ call init_gdt_table
+ ljmp $CODE_SEGMENT, $code
+
code:
- movw $DATA_SEGMENT, %ax
- movw %ax, %ds
- movw %ax, %es
- movw %ax, %fs
- movw %ax, %gs
- movw %ax, %ss
- movl $stack_top, %esp
- cli
- call _init
- call kernel_main
- hlt
-
+ movw $DATA_SEGMENT, %ax
+ movw %ax, %ds
+ movw %ax, %es
+ movw %ax, %fs
+ movw %ax, %gs
+ movw %ax, %ss
+ movl $stack_top, %esp
+ cli
+ call _init
+ call kernel_main
+ hlt
+
.size _start, . - _start