Page faults?
Posted: Mon Mar 24, 2008 7:56 am
Hi there,
I have touched JamesM's tutorials again, in a long time and found it pleasing to find a new tutorial about multitasking. I re-implemented paging and a kernel heap to try it out. I start up my kernel - and it page faults. The weird thing is though, (look at screenshot attached) sometimes the page fault happens after the debug output for the monitor driver , before the "Kernel has been initialised" text, and sometimes it happens after the SIG_FREEZE (I implemented 'shortcuts' for coming back to different functions later). I copied the code exactly from the website and even replaced that with the downloaded code. Please help! I dont know what is happenning!
If you want the code for a particular file, please ask, as long as you can use it to help me!
I have touched JamesM's tutorials again, in a long time and found it pleasing to find a new tutorial about multitasking. I re-implemented paging and a kernel heap to try it out. I start up my kernel - and it page faults. The weird thing is though, (look at screenshot attached) sometimes the page fault happens after the debug output for the monitor driver , before the "Kernel has been initialised" text, and sometimes it happens after the SIG_FREEZE (I implemented 'shortcuts' for coming back to different functions later). I copied the code exactly from the website and even replaced that with the downloaded code. Please help! I dont know what is happenning!
If you want the code for a particular file, please ask, as long as you can use it to help me!