charlotte-os / charlotte-core

The Kernel of CharlotteOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a memory access tracker

mdpatelcsecon opened this issue · comments

Create a module that can keep track of which parts of the physical address space including physical memory and MMIO space are accessible to which processes and/or the kernel. This will be key to implementing memory mapping using handles and capabilities once there is a userspace but for now it should accurately track which portions of the physical address space are made accessible to the kernel itself.

This isn't needed since it will be tracked as part of process management in the executive and not in the kernel at all. The kernel should only provide mechanisms and check capabilities.

#9 should be updated to provide reference counting for each page frame allocation.