I'm writing a little OS, and currently I'm facing the Memory Management challenge. I've understood everything about how paging works, and etc, but I can't seem to get which addresses that are free mapable memory, and what's not (BIOS ROM (horribly if I try writing to that), PCI memory etc...).
In simple words, what can I use as free memory, and how do I determine how much allocateable memory a machine has?
Help is appreciated!
