summaryrefslogtreecommitdiff
path: root/boot/kernel_entry.asm
blob: adb6b51f2d0840e8018084cec7692f0c3e0194a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;; Miguel's FoolOS Helper Functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; this will be compiled to an object file and linked with the kernel
; to simplify the entrance!
;
;
[bits 32]
[extern kernel_main]


push esp
call kernel_main ; jumps in the world of C