Page 1 of 1

Getting Memory Information with Limine Bootloader

Posted: Sun Jan 15, 2023 3:35 pm
by FunnyGuy9796
I was able to retrieve the memory map using the Limine protocol. However, trying to implement an allocator, I was wondering how I would get information from this memory map. I looked through the Limine protocol on GitHub and couldn’t find anything. I apologize in advance if I missed something obvious.

Re: Getting Memory Information with Limine Bootloader

Posted: Sun Jan 15, 2023 6:41 pm
by Octocontrabass
I don't understand the question. If you have the memory map, you have all of the information it contains too. So what do you want to get out of it that you don't know how to get out of it?

Re: Getting Memory Information with Limine Bootloader

Posted: Mon Jan 16, 2023 12:35 am
by iansjack
To amplify slightly, the memory map tells you what memory blocks there are, the address they start at, their length, and their type (hence whether they are free for your OS to use). Other than their star sign, what more information could you need?