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.
I'm reading http://www.jamesmolloy.co.uk/tutorial_h ... aging.html
And in this tutorial is presented following struct of page directory.
typedef struct page_directory
{
page_table_t *tables[1024];
u32int tablesPhysical[1024];
u32int physicalAddr;
};
Why does it work? Here
is described struct of entry in directory tables. This is different with above.
Don't take type, variable and function names literally.
Follow the logic of the code and of what it should be doing (read the CPU manual for that) to set up page translation.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]