Chinaunix首页 | 论坛 | 博客
  • 博客访问: 346105
  • 博文数量: 167
  • 博客积分: 2867
  • 博客等级: 少校
  • 技术积分: 1306
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-12 00:08
文章分类

全部博文(167)

文章存档

2017年(10)

2016年(5)

2015年(9)

2014年(10)

2013年(5)

2012年(17)

2011年(110)

2010年(1)

我的朋友

分类: LINUX

2011-01-30 10:32:46

      In the IDT(Interrupt description table), every item can be called gate, such as interrupt
gate, trap gate, call gate and task gate. What's gate?, gate means the start point to some place, off course, every gate should have it's own lock,ok, here I want to say is: in the IDT, DPL just like the lock of interrupt gate, trap gate etc. If the operation want to be executed by CPU, it have to open the lock, that's CPL <= DPL.
      CPL stand for the current running process's privilege, DPL stand for the gate's privilege, if the current running process wants to pass the target gate, the condition CPL <= DPL should be true, that is CPL higher than DPL.       
阅读(1235) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~