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.
Shikhin wrote:Hi Sir, (Now I feel I should call you sir )
After reading your post, I clearly understood what paging is and have got to known the following three things:
1. How paging is implemented.
2. How MMU translates the addresses.
3. Sir, YOU ROCK! I have seldom found anyone, willing to give, his precious time, to explain one particularly stubby subject to a student/beginner.
I am again now trying to implement Paging, and if any problems occur, I will post here. : Dedicated to you!
Hey, no problem :p. I haven't got a lot of time for my OS left these days so I'm happy to help anyone who's having problems with it. It took me about a year of OSDevving before I properly understood it, so I can understand your questions .
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Messing up paging seems to be the easiest way of generating tripple-faults (and thus reboots). In my kernel, I first use a documented way of doing a CPU-reset (keyboard port), then I load CR3 with 0 just in case the first fails.