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 .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!
System Reboots when Initializing Paging.
Re: System Reboots when Initializing Paging.
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
Re: System Reboots when Initializing Paging.
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.
Re: System Reboots when Initializing Paging.
Great post Creature! It helped me alot! Very short and straight to the point.Creature wrote: As you know, physical memory is divided into chunks of 4 kB...
____
Dario
Dario