;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;; 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 0x1 cmp eax,1 je multiproc push 0x0 multiproc: push esp call kernel_main ; jumps in the world of C