Physical Memory Manager
Re:Physical Memory Manager
For DMA you will benefit from being able to allocate a run of physically continuous addresses, otherwise you will be limited to copying 4k at a time. I would suggest you continue with paging for now and come back to this when you need to support DMA. By then you should have more experience and a better understanding of what you need, so you will probably be able to improve the whole physical memory manager.