OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Mar 18, 2024 10:26 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Getting Memory Information with Limine Bootloader
PostPosted: Sun Jan 15, 2023 3:35 pm 
Offline
Member
Member

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


Top
 Profile  
 
 Post subject: Re: Getting Memory Information with Limine Bootloader
PostPosted: Sun Jan 15, 2023 6:41 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
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?


Top
 Profile  
 
 Post subject: Re: Getting Memory Information with Limine Bootloader
PostPosted: Mon Jan 16, 2023 12:35 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], DotBot [Bot], SemrushBot [Bot] and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group