The Knowledge About Protected Mode Must Be Master During Learning The Operating System

发布于 2011-05-10 | 更新于 2020-09-20

In-depth knowledge of the Intel CPU is base on the knowledge of protected mode.And it will only be able for further study when the knowledge of protected mode is ready.

Master the GDT(Global Descriptor Table),LDT( Local Descriptor Table) and the IDT(Interrupt Descriptor Table). Their limits and properties are helpful for descriptor which provide the function of limit and Protection. Realize the protection mechanism of memory paging mechanism,and the function of R/W and U/S in the PDE and PTE. Realize the protective effect of the linear address in the paged memory management for the physical address. The use of interrupt operation under the protected mode must do something with Privileges inspection first. It can not be unceremonious to use the I/O command under the protected mode,whitch is helpful for the protection of ports. If it will visit the different Privilege Level while executing a program,the CPL,RPL,DPL and the IOPL must be checkout strictly first.And it will do something with the change of stack in order to protect different hierarchy of program.

本文作者: arthinking

本文链接: https://www.itzhai.comthe-knowledge-about-protected-mode-must-be-master-during-learning-the-operating-system.html

版权声明: 版权归作者所有,未经许可不得转载,侵权必究!联系作者请加公众号。

×
IT宅

关注公众号及时获取网站内容更新。