Page 1 of 1

help: task switching

Posted: Tue Apr 08, 2003 11:00 pm
by Aku-Aku
Hi all! This is site is great.
I am newbie at OS programming but perhaps you will be so kind to help me.
I try write a very little kernel in assembly. I use the pmtuts examples from the
OS dev. for Dummies and i achieved my kernel can switch to 0. level task.
But when i try amend to the 3. level i got GPF error. Where can i get full and
precise info how should do call a 3. level task? Maybe with an example.
Thanks,
Aku-Aku

RE:help: task switching

Posted: Tue Apr 08, 2003 11:00 pm
by Anton
What do you mean: "call a 3. level task". Do you mean switch to a level 3 task? If yes, then you should note, that only level 0 code has the ability(rights) to switch tasks.
Read Intel System Manuals.
Anton.

RE:help: task switching

Posted: Tue Apr 08, 2003 11:00 pm
by Aku-Aku
Thank you, yes i mean so, level 3 task. I knew level 0 code has the ability.
So do you say i should search the Intel System Manuals on the net?
Thank i try it.

RE:help: task switching

Posted: Tue Apr 08, 2003 11:00 pm
by Anton
Search it on www.intel.com or i give a try developer.intel.com.
Anton

RE:help: task switching

Posted: Tue Apr 08, 2003 11:00 pm
by Aku-Aku
Thanks, i found The IA-32 Intel Architecture Software Developer’s Manual vol 1-3.
I'll study it.