cfenollosa_os-tutorial/23-fixes/boot/kernel_entry.asm

8 lines
236 B
NASM
Raw Normal View History

2015-08-18 08:14:06 +00:00
global _start;
2015-08-17 16:41:38 +00:00
[bits 32]
2015-08-18 08:14:06 +00:00
_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 $