mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
8 lines
236 B
NASM
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 $
|