Page 1 of 1
Page fault
Posted: Mon Jan 13, 2003 10:54 am
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?
Re:Page fault
Posted: Mon Jan 13, 2003 1:28 pm
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.
Re:Page fault
Posted: Mon Jan 13, 2003 3:06 pm
by Ozguxxx
Are these updated (or debugged) new versions of these tutorials or are they same?
Re:Page fault
Posted: Mon Jan 13, 2003 4:24 pm
by Tim
The same... complete with mistakes. :-[
Luckily the important bits are correct.