Providing Memory Manager with Memory

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

Providing Memory Manager with Memory

Post by FunnyGuy9796 »

I am currently implementing a physical memory manager and was wondering if it is wise to allow the manager to have access to all of the memory on the system or only the memory labeled usable by the bootloader. I came across one example where someone had given the memory manager access to all memory but to me that doesn't seem right.
Octocontrabass
Member
Member
Posts: 5560
Joined: Mon Mar 25, 2013 7:01 pm

Re: Providing Memory Manager with Memory

Post by Octocontrabass »

Some memory that isn't usable at boot can become usable later. (For example, the memory containing your bootloader.) Other than that, you don't want your physical memory manager touching memory that isn't usable.
FunnyGuy9796
Member
Member
Posts: 61
Joined: Tue Sep 13, 2022 9:29 pm
Libera.chat IRC: FunnyGuy9796

Re: Providing Memory Manager with Memory

Post by FunnyGuy9796 »

Thanks! That’s what I assumed but I was curious and wanted to make sure I was correct.
Post Reply