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

5 lines
186 B
NASM
Raw Normal View History

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