Linux process 5--real mode and protected mode

Source: Internet
Author: User

The early inter chip only supported 1MB memory, using real mode, with 16bit address. Later, as technology progressed, more memory could be accessed

Protected mode chip with 32bit address. In order to maintain compatibility with the front chip, the Inter supports both of these modes. When the chip starts, the default is in real mode,

Then the OS controls into protected mode.

The biggest difference between real mode and protected mode:

Real mode, the program address is the actual physical address, can access any address space, so that different processes may access to other process programs, causing

Critical error.

Protected mode, the program address is a virtual address, and then the OS system manages memory access so that each process can access only the physical

Memory space, ensuring the security of the program. For example, Linux system address access takes the paging mechanism, and when the program is loaded, the process assigned by the OS can access

Physical page space and set the page Catalog entries and page table entries to ensure that the program runs correctly. This program runtime address is indirectly managed by the OS to prevent

Processes interact with each other, all of which are guaranteed by OS stability.

  

Linux process 5--real mode and protected mode

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.