Protected mode and reserved memory

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Khumba

Protected mode and reserved memory

Post 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?
GT

RE:Protected mode and reserved memory

Post 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...
Khumba

RE:Protected mode and reserved memory

Post by Khumba »

Okay, I've decided to use GRUB after compiling the sample kernel and seeing how easy it is. Thanks!
Post Reply