GRUB...
GRUB...
When GRUB finally loads a kernel, I found put that the CPU is using already using 32-bit flat addressing and all segment registers start at 0 and have limits of 4GB - 1. I also was able to find out that paging is not enabled. Right now I'm wondering what mode the CPU is in once control is passed over to the kernel. I could check the PE register but right now I'm at work and wont be able to get back to my dev system until Wednesday evening... Thanks
RE:GRUB...
32-bit protected mode
You should reload the GDT, however... use your own.
And the IDT isn't defined at all, so you'll have to do that as well.
Cheers,
Jeff
You should reload the GDT, however... use your own.
And the IDT isn't defined at all, so you'll have to do that as well.
Cheers,
Jeff
RE:GRUB...
The machine state when booted by a Multiboot bootloader (such as GRUB) is specified here:
http://www.mcc.ac.uk/Documentation/grub ... html#SEC16
Gnome
http://www.mcc.ac.uk/Documentation/grub ... html#SEC16
Gnome