When should we set TSS register ?

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
raywill

When should we set TSS register ?

Post by raywill »

When should we set TSS register ?
In real mode or after switched to pmode?
And why?
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:When should we set TSS register ?

Post by Pype.Clicker »

since loading "TR" register will lookup the GDT, i would suggest you load it in protected mode once the final GDT has been set up and before any attempt to use hardware task switching _or_ priviledge level switching.
raywill

Re:When should we set TSS register ?

Post by raywill »

Thanks
Post Reply