This is how it goes, I'm wondering if anything is missing?
- First Stage bootloader (loads second)
- Second stage bootloader
- Enable A20 Gate
- Go to protected mode
- Perform a long jump to kernel.asm
- Kernel.asm goes to kmain in C code.
Also, can I set up the GDT and paging in C instead of ASM? Finally, i noticed some bootladers have a config.inc, and show stuff for FAT, is that how the filesystem is set-up, or is more complicated?


