RING0 and Ring3 Nature in Intel processors

Source: Internet
Author: User

Intel processors implement 4 privilege levels Ring0-ring3

Windows uses two

The implementation of the permission is the range of the value of the address, and the value of several registers

In ring3 work, CS, DS, SS registers are always values 8, 10, and 10 respectively. This allows the system code to monitor the value of the segment registers. Select Sub 1b and 23 for addressing when the kernel (driver, system code) is working. Select 30 and 3b point to kernel Process region and thread information block respectively. When the code runs in RING0, the FS register has a value of 30, and if it runs at Ring3, the FS value is 3b. The Select child 30 always points to a descriptor with a base address of FFDFF000.

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.