paging crazyness

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
DruG5t0r3

paging crazyness

Post by DruG5t0r3 »

I've seen this practice where a page directory entry would have his own address in it....basically a page pointing to itself. It's sorta mind bogling....anyone have some explaination on how the heck that works?
viral

Re:paging crazyness

Post by viral »

see
www.osdever.net > Tutorial > MM tut by Tim Robinson
AR

Re:paging crazyness

Post by AR »

By mapping the page directory to itself, all the page tables are made contiguous in memory, eg. Page Directory last entry equals page directory then accessing 0xFFC00000 will allow you to rewrite the page table for 0-4MB regardless of where it is. 4-8MB at 0xFFC01000 and so on.
Post Reply