vm86 task
Posted: Sun Apr 04, 2010 9:03 pm
Hi all, i have a small problem. I have a kernel with software taskswitching, and vm86. now is my question.
I can do real mode ints, like int 0x10, etc. but I start those int with a funcion that create a vm86 process. and when I finish using int 0x10 for example, that function call int 0x20, that is a simple function that remove that process from my scheduler.
anyone knows how to make that better?
like when using a int 0x20 " good exit " it turns that task to protected mode task and then exit by him self ?
I can do real mode ints, like int 0x10, etc. but I start those int with a funcion that create a vm86 process. and when I finish using int 0x10 for example, that function call int 0x20, that is a simple function that remove that process from my scheduler.
anyone knows how to make that better?
like when using a int 0x20 " good exit " it turns that task to protected mode task and then exit by him self ?