Skip to content

Commit

Permalink
bug(kernel): add _start to the entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
bemxio committed Jul 16, 2022
1 parent d340b9b commit 3f6b8d7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kernel/entry_point.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[bits 32]
[extern kernel_main] ; define the calling point

call kernel_main ; calls the C function (we finally don't need to touch assembly)
jmp $
global _start;

_start:
[extern kernel_main] ; define the calling point
call kernel_main ; calls the C function (we finally don't need to touch assembly)
jmp $

0 comments on commit 3f6b8d7

Please sign in to comment.