Getting Memory Information with Limine Bootloader
-
- Member
- Posts: 61
- Joined: Tue Sep 13, 2022 9:29 pm
- Libera.chat IRC: FunnyGuy9796
Getting Memory Information with Limine Bootloader
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.
-
- Member
- Posts: 5562
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Getting Memory Information with Limine Bootloader
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
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?