tss multitasking implementation..
Posted: Mon Jun 23, 2003 1:19 pm
because i got no answers and feedback on alt.os.development i'll try it here now:
I spent the whole day reading the Intel Manuals and trying to understand how I can use this TSS Stuff to do multitasking in my OS. I understand things better if I write my own summary about it (see paragraph 1 and 2 in the included document).
Now I came to the conclusion that ljmp's are the (a) solution for task switching, because lcall do "nest" task's in each other.
Now my request to you: Please read my document, and tell me if my summary and my implementation (paragraph 3) are correct, and make sense at all.
I'm really wondering if I found a good and common solution to do
multitasking with IA32 and TSS's..
Or are there better sulutions ? IRET ? Task as interrupt handlers ? how does your OS multitasking ?
please let me know!
This is not another "how do i add multitasking to my OS" post. I would like to start an interessting discussion about multisaking implementations with IA32 and TSS's es.
thanks alot for any help!
kind regards
hefeteig
P.s. sorry for my bad english
attachment at:
www.c-worker.ch/hos/tss_multitasking.doc
I spent the whole day reading the Intel Manuals and trying to understand how I can use this TSS Stuff to do multitasking in my OS. I understand things better if I write my own summary about it (see paragraph 1 and 2 in the included document).
Now I came to the conclusion that ljmp's are the (a) solution for task switching, because lcall do "nest" task's in each other.
Now my request to you: Please read my document, and tell me if my summary and my implementation (paragraph 3) are correct, and make sense at all.
I'm really wondering if I found a good and common solution to do
multitasking with IA32 and TSS's..
Or are there better sulutions ? IRET ? Task as interrupt handlers ? how does your OS multitasking ?
please let me know!
This is not another "how do i add multitasking to my OS" post. I would like to start an interessting discussion about multisaking implementations with IA32 and TSS's es.
thanks alot for any help!
kind regards
hefeteig
P.s. sorry for my bad english
attachment at:
www.c-worker.ch/hos/tss_multitasking.doc