No way of setting up paging
Re: No way of setting up paging
That's exactly what it covers - how to manipulate page tables, either the current one or another one. You should read the articles I linked to there.
Re: No way of setting up paging
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.abcd wrote:Thank you for the suggestion, but it still doesn’t cover how to allocate a new page directory...iansjack wrote:Perhaps you should read this recent thread: viewtopic.php?f=1&t=35110
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.
YouTube:
http://youtube.com/@AltComp126
My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... ip?viasf=1
http://youtube.com/@AltComp126
My x86 emulator/kernel project and software tools/documentation:
http://master.dl.sourceforge.net/projec ... ip?viasf=1