Page 1 of 1

GRUBing

Posted: Thu Oct 31, 2002 10:08 pm
by Mr_Spam
I belive i will use grub as a bootloader for the beggining stages of my OS. My question is, What all dose grub do? Such as, switch to Pmode? load IDT, GDT, LDT? enable a20? stuff like that.

Thanks,

Spam

Re:GRUBing

Posted: Fri Nov 01, 2002 8:37 am
by Whatever5k
GRUB switches to Protected Mode, therefore enables A20. It builds a GDT temporarily, but you will have to load your own, nevertheless. It builds no IDT and interrupts are disabled...

See http://www.openbg.net/sto/os/xml/grub.html#grub2krnl