parent
0134c5625c
commit
92ff191c3d
@ -1,4 +1,7 @@
|
|||||||
|
global _start;
|
||||||
[bits 32]
|
[bits 32]
|
||||||
[extern main] ; Define calling point. Must have same name as kernel.c 'main' function
|
|
||||||
call main ; Calls the C function. The linker will know where it is placed in memory
|
_start:
|
||||||
jmp $
|
[extern kernel_main] ; Define calling point. Must have same name as kernel.c 'main' function
|
||||||
|
call kernel_main ; Calls the C function. The linker will know where it is placed in memory
|
||||||
|
jmp $
|
||||||
|
Loading…
Reference in new issue