Some questions I encountered while implementing paging
Posted: Sun May 07, 2006 6:09 pm
Hey I have a couple of questions regarding the implementation of paging into my OS. I'm pretty sure everything except this is clear in my mind. Perhaps I'm looking at this all wrong but here it is:
When you do a task switch assuming you switch PageDir which interm switches Page Tables and Pages how does the memory currently stored in there get preserved for when the task is rescheduled? Is this something to do with the actual task state saving itself or is it something to do with the paging aspect?
Thanks.
When you do a task switch assuming you switch PageDir which interm switches Page Tables and Pages how does the memory currently stored in there get preserved for when the task is rescheduled? Is this something to do with the actual task state saving itself or is it something to do with the paging aspect?
Thanks.