Call a c function.

This commit is contained in:
2017-11-17 22:58:14 +01:00
parent 0a4b5ebd51
commit ab1a471857
3 changed files with 30 additions and 3 deletions

View File

@@ -65,5 +65,6 @@ _start:
mov rax, 0
movabs [BootP4], rax
//; Loop infinitely
jmp $
.extern kmain
movabs rax, offset kmain
jmp rax