mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-06-13 12:54:24 +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 $
|