About TSS Gate
About TSS Gate
Can anyone tell me what's the difference between task switching using TSS and TSS Gate? Thanks.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:About TSS Gate
a TSS gate is a pointer to a TSS. by calling/jumping it, you can do the same operation as if you were calling/jumping the TSS itself, BUT gates can be stored in IDT and LDT while TSS MUST reside in GDT ... so basically, gates are used to give a specific TSS the ability to call another one, even from user level.
The DPL field of the task gate is the required level to call that gate. I guess the DPL filed of the TSS do the same, but i wouldn't set TSS.DPL!=0 if i were you ...
The DPL field of the task gate is the required level to call that gate. I guess the DPL filed of the TSS do the same, but i wouldn't set TSS.DPL!=0 if i were you ...