Is it possible to have paging enabled in real mode?

空扰寡人 提交于 2021-02-10 07:15:23

问题


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


回答1:


No, From Intel Manual Vol 3A Chapter 2.5

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.”

(Emphasis mine)



来源:https://stackoverflow.com/questions/31113177/is-it-possible-to-have-paging-enabled-in-real-mode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!