Page fault

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
Whatever5k

Page fault

Post by Whatever5k »

What are the steps to be done in a page fault handler? I have no file system support yet, so swapping out old page frames on the disk is not a question. What should I do?
Tim

Re:Page fault

Post by Tim »

Make the faulting address valid, or if that is impossible, handle the exception sensibly (print an error message). What you do to make the address valid depends on your design.

Read the bottom section at http://osdev.berlios.de/memory2.html.
Ozguxxx

Re:Page fault

Post by Ozguxxx »

Are these updated (or debugged) new versions of these tutorials or are they same?
Tim

Re:Page fault

Post by Tim »

The same... complete with mistakes. :-[

Luckily the important bits are correct.
Post Reply