Exceptions Related To The TSS
The x86 exception vector 10 is called the Invalid TSS exception (#TS). It is issued by the processor whenever something goes wrong with the TSS access. For example, if an interrupt happens in CPL=3 and is transferring control to CPL=0, the TSS is used to extract SS0 and ESP0/RSP0 for the stack switch. If the task register holds a bad TSS selector, a #TS fault will be generated. The Invalid TSS exception should never happen during normal operating system operation and is always related to kernel bugs or hardware failure.
For more details on TSS exceptions, see Volume 3a, Chapter 6 of the IA-32 manual.
Read more about this topic: Task State Segment
Famous quotes containing the words exceptions and/or related:
“... people were so ridiculous with their illusions, carrying their fools caps unawares, thinking their own lies opaque while everybody elses were transparent, making themselves exceptions to everything, as if when all the world looked yellow under a lamp they alone were rosy.”
—George Eliot [Mary Ann (or Marian)
“In the middle years of childhood, it is more important to keep alive and glowing the interest in finding out and to support this interest with skills and techniques related to the process of finding out than to specify any particular piece of subject matter as inviolate.”
—Dorothy H. Cohen (20th century)