summaryrefslogtreecommitdiff
path: root/src/as/boot.s
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-09 18:50:48 +0100
committerAleksa Vučković <aleksav013@gmail.com>2022-01-10 22:36:52 +0100
commit8e79ceaa7d3995df5a5dcf0ffdbd52ebe4c52163 (patch)
tree60424b081f4a3e37e0c87dfa764ea559f1ba0543 /src/as/boot.s
parentdbbb74c22f42df9175eaea72c1eb12d6deab332c (diff)
Indentation
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