flat assembler
Message board for the users of flat assembler.

Index > Main > Task Gate - what is it good for?

Author
Thread Post new topic Reply to topic
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
does anyone have some idea what is Task Gate segment good for? It seems to contain only reference to Task Selector. What is advantage of task gate over using selector directly?
Post 04 Jun 2007, 11:41
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista
While I'm not certain, I think the Task Gate is a protection mechanism for the TSS.

Here is an good article on Task Gates and task switching.
Post 04 Jun 2007, 12:17
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
thanks, it will be helpful.

By the way, I already figured out. Task Segment can be only present in GDT, and task gate can be used in IDT too, when interrupt handler should execute within different task.

Maybe it has also other uses i am not aware of.
Post 04 Jun 2007, 12:38
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.