weichuang02 发表于 2012-07-12 09:51

windows使用了intel特权级的0和3级,1和2级从来不用么?

如题!!!!

weichuang02 发表于 2012-07-13 08:59

自己顶一下。

liuiang 发表于 2012-07-13 22:29

虚拟机会用,不过我不清楚硬件虚拟化之后,是否还需要。

hansion3406 发表于 2012-09-05 10:12

行,有意义,我顶 谢谢您了

prc 发表于 2012-10-19 17:39

1/2级也是特权级,也能修改0级的页面...所以区分0/1/2意义不大

superwiles 发表于 2012-11-15 00:58

xen确定在用

lilogo 发表于 2012-11-18 10:03

本帖最后由 lilogo 于 2012-11-18 10:05 编辑

windows没用似乎是为了保持某种兼容性或者说是惯例。

tanggeng 发表于 2013-01-15 16:30

应该是没用,至少以前的版本是这样,因为不是所有的CPU都支持4个特权级,而NT内核研制初期目标就是要兼容很多CPU

回复 1# weichuang02


   

hclin168 发表于 2013-09-03 02:34

我也想知道 :lol
应该跟OS移植到其他CPU有关.

myworkstation 发表于 2013-09-18 14:38

回复 1# weichuang02


    由于CPU的兼容性问题Windows只使用两个级别的,如Alpha处理器和SGI MIPS都只有两个级别。Windows Internals这本书里有讲原话如下:

The architecture of the x86 and x64 processor defines four privilege levels, or rings, to
protect system code and data from being overwritten either inadvertently or maliciously by
code of lesser privilege. Windows uses privilege level 0 (or ring 0) for kernel mode and privilege
level 3 (or ring 3) for user mode. The reason Windows uses only two levels is that some hardware
architectures that were supported in the past (such as Compaq Alpha and Silicon Graphics MIPS)
implemented only two privilege levels
页: [1] 2
查看完整版本: windows使用了intel特权级的0和3级,1和2级从来不用么?