mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2025-12-17 12:24:37 +03:00
lesson 13, first kernel
This commit is contained in:
4
13-kernel-barebones/kernel_entry.asm
Normal file
4
13-kernel-barebones/kernel_entry.asm
Normal file
@@ -0,0 +1,4 @@
|
||||
[bits 32]
|
||||
[extern main] ; Define calling point. Must haveSame name as kernel.c 'main' function
|
||||
call main ; Calls the C function. The linker will know where it is placed in memory
|
||||
jmp $
|
||||
Reference in New Issue
Block a user