zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    Spark笔记:RDD基本操作(下)
    Spark笔记:RDD基本操作(上)
    使用mapreduce计算环比的实例
    Hbase学习笔记01
    周爱民:真正的架构师是没有title的(图灵访谈)
    google map 路线服务
    Google Maps V3 之 路线服务
    CSS3支持box-flex弹性布局
    php curl用法
    .frm,.myd,myi转换为.sql导入数据库
  • 原文地址:https://www.cnblogs.com/Amaranthus/p/2628571.html
Copyright © 2011-2022 走看看