question about paging
Posted: Wed Dec 05, 2007 10:12 am
I have a multitasking kernel ring3 protection vm86 using software taskswitching. now I´m trying to implement each task to have it own page directory. util now ok!
but to load a flat binary image to a memory that is linked into 0x400000 I had to map that 0x400000 into physical addres that binary image is loaded, ok? good.
but now is my big question...
do I have to map the kernel memory into page directory for all tasks ?
if I do that works! ?
I just need to change CR3 on irq00 when before popa/pop ds... .. .. right ?
or I do need to change cr3 into all irq00-15 isr0-31 hander ?
I´m trying to read intel manual 3 but is big..
but to load a flat binary image to a memory that is linked into 0x400000 I had to map that 0x400000 into physical addres that binary image is loaded, ok? good.
but now is my big question...
do I have to map the kernel memory into page directory for all tasks ?
if I do that works! ?
I just need to change CR3 on irq00 when before popa/pop ds... .. .. right ?
or I do need to change cr3 into all irq00-15 isr0-31 hander ?
I´m trying to read intel manual 3 but is big..