multitask and paging
Posted: Mon Nov 10, 2003 12:00 am
i got working multitasking and want to enaple paging
i made two page tbl's and page dir's
one for kernel and one for task ( in PL=3 )
load cr3 with addr of page dir for kernel
in task tss cr3 = addr of page dir for task
when kernel switch to task i got 'CS not valid executable segment' ( in bochs )
what i could do wrong ?
i made two page tbl's and page dir's
one for kernel and one for task ( in PL=3 )
load cr3 with addr of page dir for kernel
in task tss cr3 = addr of page dir for task
when kernel switch to task i got 'CS not valid executable segment' ( in bochs )
what i could do wrong ?