abcd wrote:
iansjack wrote:
Perhaps you should read this recent thread:
viewtopic.php?f=1&t=35110Thank you for the suggestion, but it still doesn’t cover how to allocate a new page directory...
You can keep an array of CR3 page directory values. If an element contains 0, you can add a page address to create a new directory.
You just need to keep track of free physical pages with a bitmap at least.
Then with your visor page table you can map around unmapped pages to initialize a completely new page directory.