Setting up Paging

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
one

Setting up Paging

Post by one »

I want to set up paging All I've done now is a FAT 12 bootloader which enters PMode and displays my message. DO i have to set up paging before going into Pm or can I do so inside my C code(kernel which displays the message). Thanx in advance.
Tim

Re:Setting up Paging

Post by Tim »

You can set up paging before you enter protected mode, but remember it won't take effect until protected mode is entered. However, if you're writing this code for the first time, you may find it easier to do it in two stages. Entering protected mode and enabling paging are both difficult to get right first time, so to debug both is extra hard.
Post Reply