是否可以在实模式下启用分页? [英] Is it possible to have paging enabled in real mode?
问题描述
是否可以在实模式下启用分页,例如在 BIOS 执行期间.如果启用,在实模式下分页有什么用
Is it possible to have paging enabled in real mode, for example during BIOS execution. If it is enabled what is the use of having paging in real mode
推荐答案
否,来自 英特尔手册第 3A 卷第 2.5 章
No, From Intel Manual Vol 3A Chapter 2.5
分页(CR0 的第 31 位)——设置时启用分页;清除时禁用分页.当分页是禁用,所有线性地址都被视为物理地址.如果PE标志(位寄存器 CR0) 的 0 也没有设置;当 PE 标志清除时设置 PG 标志会导致一般保护异常(#GP).另请参阅:第 4 章,分页".
Paging (bit 31 of CR0) — Enables paging when set; disables paging when clear. When paging is disabled, all linear addresses are treated as physical addresses. The PG flag has no effect if the PE flag (bit 0 of register CR0) is not also set; setting the PG flag when the PE flag is clear causes a general-protection exception (#GP). See also: Chapter 4, "Paging."
(强调我的)
这篇关于是否可以在实模式下启用分页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!