2014年2月26日

关于CR0寄存器

摘要: 开始的时候,我认为CR0.WP如果被置位,那么内存的页面只读属性将会失效,导致可以被写入数据。 这几天正好碰到一个问题,查看了资料才发现,之前的理解不完整。 引用Intel手册中的一句话: CR0.WP allows pages to be protected from supervisor-mode writes. If CR0.WP = 0, supervisor-mode writeaccesses are allowed to linear addresses with read-only access rights; if CR0.WP = 1, they are not.... 阅读全文

posted @ 2014-02-26 09:13 emissary 阅读(1120) 评论(0) 推荐(0) 编辑

导航