Page 1 of 1

Providing Memory Manager with Memory

Posted: Tue Mar 07, 2023 5:46 pm
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.

Re: Providing Memory Manager with Memory

Posted: Tue Mar 07, 2023 6:46 pm
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.

Re: Providing Memory Manager with Memory

Posted: Tue Mar 07, 2023 6:48 pm
by FunnyGuy9796
Thanks! That’s what I assumed but I was curious and wanted to make sure I was correct.