cfenollosa_os-tutorial/13-kernel-barebones/kernel_entry.asm

5 lines
186 B
NASM
Raw Normal View History

2014-10-15 17:00:21 +00:00
[bits 32]
2014-10-16 09:35:20 +00:00
[extern main] ; Define calling point. Must have same name as kernel.c 'main' function
2014-10-15 17:00:21 +00:00
call main ; Calls the C function. The linker will know where it is placed in memory
jmp $