Role of TSS

Source: Internet
Author: User

Originally, Intel designed TSS to switch between multiple tasks in the operating system through this segment.

However, it is said that using this switching task will take a lot of CPU time and break the CPU Flow. Therefore, neither Linux nor Windows uses TSS for switching tasks.

Tss also records the "I/O permission bitmap ".

In addition, the ESP and SS registers of the 0-2 ring are recorded in the TSS. When the outer ring (such as ring3) enters the inner ring (such as ring0), the ESP and SS of the inner ring in the TSS are automatically loaded. Why does TSS not record the ESP and SS of ring3? This is because these are pushed into the stack when the outer ring enters the inner ring. When the outer ring is returned from the inner ring, it is OK to restore from the stack.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.