Hi guys!
If a memory reference is made and the present bit in the page directory is set indicating that the page table is present, but the page where the page table should be is marked not present (in another page table), what will happen??
Will CR2 contain the "original" memory reference or an address in the missing page table? ???
Does enyone know this?? Then you have the chance to prove you are a real os guru... ;D
Page Fault question....
Re:Page Fault question....
Remember that pagetables contain physical addresses rather than virtual addresses.
Re:Page Fault question....
Since you cannot give an error for any page that is not there (since it isn't there, it doesn't have a fault address either), so the only logical outcome would be that CR2 always contains the address that was about to be used, and which caused the page fault itself.Sam wrote: Hi guys!
If a memory reference is made and the present bit in the page directory is set indicating that the page table is present, but the page where the page table should be is marked not present (in another page table), what will happen??
Will CR2 contain the "original" memory reference or an address in the missing page table? ???
Does enyone know this?? Then you have the chance to prove you are a real os guru... ;D