Remap the Kernel

from blog Writing an OS in Rust, | ↗ original
In this post we will create a new page table to map the kernel sections correctly. Therefore we will extend the paging module to support modifications of inactive page tables as well. Then we will switch to the new table and secure our kernel stack by creating a guard page. As always, you can find the source code on GitHub. Don’t hesitate to file...