Multiple LDT's??

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Peter_Vigren

Multiple LDT's??

Post by Peter_Vigren »

Can I use multiple LDT's?? If so, how many and how??
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Multiple LDT's??

Post by Pype.Clicker »

Yes, you can. You can allocate several LDT descriptors in your GDT and give different tasks differents LDT (i.e. having another LDT field in each TSS). This is a basical fashion to create multiprocessing environment safely.

I suggest you not to try to change LDTs within the same task because it would lead to high overhead...

If i'm computing well, you should be able to have 8192 entries at a max in the GDT, and you'll need as much TSS as LDTs, thus a grand total of 4092 new LDTs ...
Post Reply