windows 虚拟地址映射到物理地址

简介:

1. The CPU’s MMU locates the page directory for the process using
the special register mentioned above.
2. The page directory index (from the first 10 bits of the virtual address)
is used to locate the PDE that identifies the page table
needed to map the virtual address to a physical one.
3. The page table index (from the second 10 bits of the virtual address)
is used to locate the PTE that maps the physical location of the virtual
memory page referenced by the address.
4. The PTE is used to locate the physical page. If the virtual page is
mapped to a page that is already in physical memory, the PTE will

contain the page frame number (PFN) of the page in physical memory
that contains the data in question. (Processors reference memory
locations by PFN.) If the page is not in physical memory, the MMU
raises a page fault, and the Windows page fault–handling code attempts
to locate the page in the system paging file. If the page can be
located, it is loaded into physical memory, and the PTE is updated to
reflect its location. If it cannot be located and the translation is a user
mode translation, an access violation occurs because the virtual address
references an invalid physical address. If the page cannot be
located and the translation is occurring in kernel mode, a bug check
(also called a blue screen) occurs.

 





    本文转自 Fanr_Zh 博客园博客,原文链接:http://www.cnblogs.com/Amaranthus/archive/2012/08/08/2628571.html,如需转载请自行联系原作者




相关文章
|
安全 虚拟化 Windows
手把手教你如何在虚拟机上安装Windows 10
手把手教你如何在虚拟机上安装Windows 10
1250 2
|
安全 开发工具 git
Windows11搭建Python环境(2)- Anaconda虚拟环境中安装Git
Windows11搭建Python环境(2)- Anaconda虚拟环境中安装Git
1193 0
|
存储 Python Windows
windows创建python虚拟环境
本文有2种创建python虚拟环境的方式, 如果第二种方式有问题, 建议使用第一种方式!
windows创建python虚拟环境
|
Shell 网络安全 网络虚拟化
[笔记]Windows使用OpenVpn构建虚拟局域网
[笔记]Windows使用OpenVpn构建虚拟局域网
4549 0
|
机器学习/深度学习 并行计算 PyTorch
【Pytorch-入门】windows+Anaconda虚拟环境搭建(避免不必要的包冲突)
【Pytorch-入门】windows+Anaconda虚拟环境搭建(避免不必要的包冲突)
1463 0
【Pytorch-入门】windows+Anaconda虚拟环境搭建(避免不必要的包冲突)
|
Python Windows
基于Windows下Pycharm和Anaconda的python虚拟环境连接配置及更换项目虚拟环境方法
基于Windows下Pycharm和Anaconda的python虚拟环境连接配置及更换项目虚拟环境方法
1818 0
基于Windows下Pycharm和Anaconda的python虚拟环境连接配置及更换项目虚拟环境方法
|
机器学习/深度学习 开发工具 网络虚拟化
基于Windows下Anaconda创建python虚拟环境教程(二)
基于Windows下Anaconda创建python虚拟环境教程
1004 0
基于Windows下Anaconda创建python虚拟环境教程(二)
|
机器学习/深度学习 存储 人工智能
基于Windows下Anaconda创建python虚拟环境教程(一)
基于Windows下Anaconda创建python虚拟环境教程
4793 0
基于Windows下Anaconda创建python虚拟环境教程(一)
|
机器学习/深度学习 并行计算 Ubuntu
软件类配置(一)【Windows下使用conda在虚拟环境中安装CUDA、CUDNN及Tensorflow】
软件类配置(一)【Windows下使用conda在虚拟环境中安装CUDA、CUDNN及Tensorflow】
973 0
|
Ubuntu 程序员 Windows
成功解决Windows和VM下的Ubuntu虚拟系统之间相互复制粘贴的问题
成功解决Windows和VM下的Ubuntu虚拟系统之间相互复制粘贴的问题
成功解决Windows和VM下的Ubuntu虚拟系统之间相互复制粘贴的问题