Software Task Switching Confusion!
Posted: Thu Mar 05, 2009 1:08 am
Hi
I am always advised to use one TSS atleast even if i will use Software technique for task switching.
I am not able to understand the reason?
I checked many tutorials they mention it but donot tell why, please help!
I think it is to allow implicit TSS for interrupts and faults, please comment!
In some code i found that TSS entry like
dw 103
dw 0 ; set to tss
db 0
db 0xE9 ; present, ring 3,etc
db 0
db 0
If my above statement is correct why ring 3?
I am always advised to use one TSS atleast even if i will use Software technique for task switching.
I am not able to understand the reason?
I checked many tutorials they mention it but donot tell why, please help!
I think it is to allow implicit TSS for interrupts and faults, please comment!
In some code i found that TSS entry like
dw 103
dw 0 ; set to tss
db 0
db 0xE9 ; present, ring 3,etc
db 0
db 0
If my above statement is correct why ring 3?