LtG wrote:
I'd also like to point out a couple of things:
- Octocontrabass mentions the entries are 64-bit, he offers an explanation why you are seeing garbage. That would be a good time to read and re-read the multiboot spec, at least for the mmap part. And maybe at least test, before stating that they are 32-bit.
- On the first page there's an almost identical thread by Octacone, you should probably read that:
http://forum.osdev.org/viewtopic.php?f=1&t=32254Octacone had a few issues, reading that thread might help you. One of the issues had to do with 32-bit vs 64-bit. There was also some stuff about PAS vs PM vs VAS vs VM, similar to what mallard said in this thread.
Hey @LtG, I wanted to post the same thing. It looks like you were slightly faster.
He is having almost the exact same theory related dilemmas as I've had.
Take a look at that thread, it is quite good. There are peopling explaining in detail all of your issues.
If you have any question please post them here. :=)
Quite soon enough you will realize that you can't access more than 3.5 GB on average in protected mode and you will also discover the purpose of PAE. (just wait for it).
Because of that thread, right now I am working on a totally new physical memory/address space manager and I am also writing some 64 bit printing functions. I am having to adapt/modify around 50% of my entire OS because of it.