Providing Memory Manager with Memory
-
- Member
- Posts: 61
- Joined: Tue Sep 13, 2022 9:29 pm
- Libera.chat IRC: FunnyGuy9796
Providing Memory Manager with Memory
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.
-
- Member
- Posts: 5562
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Providing Memory Manager with Memory
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.
-
- Member
- Posts: 61
- Joined: Tue Sep 13, 2022 9:29 pm
- Libera.chat IRC: FunnyGuy9796
Re: Providing Memory Manager with Memory
Thanks! That’s what I assumed but I was curious and wanted to make sure I was correct.