Hi!
I've got a problem with my recursive page directory (you know, mapping the page directory into itself...): I can only read out or write to the entries, which are currently mapped...or I get a page fault. But I need to write to the unmapped entries to map new pages into virtual memory, so this sucks...
I really don't have any clue, why I get a page fault...I did it nearly the same way in my previous kernel.
hmm...dunno how to express this better... :-\
Thanks in advance!
michelle
Recursive page directory
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Recursive page directory
any chance you're missing the page table for that entry too ?
or maybe you wanted to write-protect (e.g. W bit cleared in the directory entry) which also makes the mapping of the page table read-only (thus unmodifiable -- pretty nasty oddity i had in Clicker )
or maybe you wanted to write-protect (e.g. W bit cleared in the directory entry) which also makes the mapping of the page table read-only (thus unmodifiable -- pretty nasty oddity i had in Clicker )
Re:Recursive page directory
ahh...yeah...I was missing the page table -_-
stupid...maybe I shouldn't code for more than 6 hours
thanks!
stupid...maybe I shouldn't code for more than 6 hours
thanks!