Execution in place of a file stored non-contiguously in a non-volatile
memory
    1.
    发明授权
    Execution in place of a file stored non-contiguously in a non-volatile memory 失效
    执行代替在非易失性存储器中非连续存储的文件

    公开(公告)号:US5754817A

    公开(公告)日:1998-05-19

    申请号:US797994

    申请日:1997-02-12

    IPC分类号: G06F9/445 G06F12/02 G06G12/10

    摘要: A method for managing and addressing an executable-in-place (XIP) program stored in a memory having a plurality of blocks includes the step of virtually storing a first portion of the XIP program in a first page of a paged virtual memory space and a second portion of the XIP program in a second page of the paged virtual memory space. The first portion of the XIP program is physically stored in a first block of the plurality of blocks and the second portion of the XIP program is physically stored in a second block of the plurality of blocks. A memory address mapping window is established with addresses of the first block. A page map for mapping the memory address mapping window to the first page is established. The first block is addressed for the first portion of the XIP program via the page map and the memory address mapping window. The memory address mapping window is updated with addresses of the second block and the page map is remapped to the second page when the second portion of the XIP program requires to be accessed such that the XIP program can be directly executed from the memory without being required to be stored contiguously in the memory and without being partitioned from other files that are not XIP programs.

    摘要翻译: 用于管理和寻址存储在具有多个块的存储器中的可执行就地(XIP)程序的方法包括以下步骤:将XIP程序的第一部分虚拟地存储在分页虚拟存储器空间的第一页和 XIP程序的第二部分在分页的虚拟存储器空间的第二页中。 XIP程序的第一部分物理地存储在多个块的第一块中,并且XIP程序的第二部分物理地存储在多个块的第二块中。 使用第一块的地址建立存储器地址映射窗口。 建立了将内存地址映射窗口映射到第一页的页面映射。 第一个块通过页面映射和存储器地址映射窗口来寻址XIP程序的第一部分。 当XIP程序的第二部分需要被访问时,存储器地址映射窗口被更新为第二块的地址并且页面映射被重新映射到第二页,使得可以从存储器直接执行XIP程序而不需要 存储在存储器中,并且不与不是XIP程序的其他文件进行分区。