APPARATUS AND METHOD FOR EXECUTING RAPID MEMORY MANAGEMENT UNIT EMULATION AND FULL-SYSTEM SIMULATOR
    1.
    发明申请
    APPARATUS AND METHOD FOR EXECUTING RAPID MEMORY MANAGEMENT UNIT EMULATION AND FULL-SYSTEM SIMULATOR 有权
    用于执行快速记忆管理单元仿真和全系统仿真器的设备和方法

    公开(公告)号:US20080222384A1

    公开(公告)日:2008-09-11

    申请号:US12030163

    申请日:2008-02-12

    IPC分类号: G06F9/34

    摘要: A method for performing rapid memory management unit emulation of a computer program in a computer system, wherein address injection space of predefined size is allocated in the computer system and a virtual page number and a corresponding physical page number are stored in said address injection space, said method comprising steps of: comparing the virtual page number of the virtual address of a load/store instruction in a code segment in said computer program with the virtual address page number stored in said address injection space; if the two virtual page numbers are the same, then obtaining the corresponding physical address according to the physical page number stored in said address injection space; otherwise, performing address translation lookaside buffer search, that is, TLB search to obtain the corresponding physical address; and reading/writing data from/to said obtained corresponding physical address. The present invention also provides an apparatus and computer program product for implementing the method described above.

    摘要翻译: 一种用于在计算机系统中执行计算机程序的快速存储器管理单元仿真的方法,其中预定义大小的地址注入空间被分配在计算机系统中,并且虚拟页码和对应的物理页号存储在所述地址注入空间中, 所述方法包括以下步骤:将所述计算机程序中的代码段中的加载/存储指令的虚拟地址的虚拟页面号码与存储在所述地址注入空间中的虚拟地址页码进行比较; 如果两个虚拟页码相同,则根据存储在所述地址注入空间中的物理页码获得对应的物理地址; 否则,执行地址转换后备缓冲区搜索,即TLB搜索获取相应的物理地址; 以及从所述获得的对应物理地址读取/写入数据。 本发明还提供一种用于实现上述方法的装置和计算机程序产品。