I just want to clarify things:
The mm (memory manager) is the part of the kernel that actually deals with physical addresses. It's responsible for (de)allocating pages and mapping virtual addresses to physical ones.
First of all, I'll need to decide where I'll put the memory manager. Tim Robinson seems to put it right at the end of the kernel, that's fine with me. The allocator just looks for free memory (by looking into a bitmap or s.th. similar), marks it as reserved (in the bitmap) and returns the address to the user who can now use it, right? The Deallocator does the same, just the other way round
And the mapping depends on wether I have paging enabled or not, is that correct? Because if so, I'll need to create page tables etc. and enable paging. But that's it, isn't it. Nothing more to do, is there? Is that the "mapper's" job?
That was much to read
Is my comprehension of a Memory Manager ok (and is it modern enough)? Anything forgotten? Do you wanna add something?
best regards and thanks for your help,
A. Blessing
