Page 1 of 1

Protected mode and reserved memory

Posted: Sun Jul 04, 2004 11:00 pm
by Khumba
In the other memory thread that's going on, it was said that direct probing of memory (above 0x100000) is bad because it can mess up your hardware.  Is this a problem when writing a protected mode OS then?  Do you have to avoid using certain ranges?  If so, is the best way to get these ranges to use GRUB or can you get them from the BIOS?

RE:Protected mode and reserved memory

Posted: Sun Jul 04, 2004 11:00 pm
by GT
If you're using GRUB, then yes, that's the easiest and best way to do it.  Yuo can use the BIOS, but if you're using GRUB, GRUB has already queried the BIOS for you, no need to do it over again.  If you're not using GRUB, or don't want to be dependent on GRUB, then of course you can check the BIOS yourself...

RE:Protected mode and reserved memory

Posted: Mon Jul 05, 2004 11:00 pm
by Khumba
Okay, I've decided to use GRUB after compiling the sample kernel and seeing how easy it is. Thanks!