cfenollosa_os-tutorial/23-fixes/boot/kernel_entry.asm
2015-08-18 10:14:06 +02:00

8 lines
236 B
NASM

global _start;
[bits 32]
_start:
[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 $