Getting Memory Information with Limine Bootloader

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
FunnyGuy9796
Member
Member
Posts: 61
Joined: Tue Sep 13, 2022 9:29 pm
Libera.chat IRC: FunnyGuy9796

Getting Memory Information with Limine Bootloader

Post 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.
Octocontrabass
Member
Member
Posts: 5562
Joined: Mon Mar 25, 2013 7:01 pm

Re: Getting Memory Information with Limine Bootloader

Post 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?
User avatar
iansjack
Member
Member
Posts: 4703
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Getting Memory Information with Limine Bootloader

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