Skip to content

Commit

Permalink
Call, not jump to stivale2_main
Browse files Browse the repository at this point in the history
  • Loading branch information
N00byEdge committed May 13, 2021
1 parent d121589 commit 8d788c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/boot/stivale2_aarch64.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ smp:
.global _start
_start:
.extern stivale2_main
B stivale2_main
BL stivale2_main

.section .rodata
stivale_flags_value:
Expand Down
2 changes: 1 addition & 1 deletion src/boot/stivale2_x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ _start:
mov rbp, rsp

.extern stivale2_main
jmp stivale2_main
call stivale2_main

0 comments on commit 8d788c0

Please sign in to comment.