Re: Load kernel from bootloader
If you're calling the C function "kernel_main" from assembly, don't you need to declare it like so in asm:
Code:
extern _kernel_main
call _kernel_main
With the leading underscore? I may be wrong.
Also, once you assemble the boot loader it should be exactly 512 bytes (make sure you have the boot signature). Once you link it, yes the image will get larger because you've linked it to your kernel modules. I may have just said a whole bunch of stuff you already know and if so, my bad.
Brodeur235