Method and device for accessing dispersed internal memory

2012 
The embodiment of the invention discloses a method and a device for accessing a dispersed internal memory. The method comprises the following steps: receiving a first address and a virtual memory address of a first-level TLB (Translation Look-aside Buffer) page table configured for an operation system when a dispersed physical internal memory is to be accessed, wherein the first address of a second-level TLB page table is stored in the first-level TLB page table; obtaining the first-level TLB page table according to a first part in the first address and the virtual memory address of the first-level TLB page table; obtaining the second-level TLB page table according to a second part in the first address and the virtual memory address of the second-level TLB page table; reading the data in the second-level TLB page table as a to-be-accessed physical internal memory address; and accessing a physical internal memory space indicated by the to-be-accessed physical internal memory address. The method or device disclosed by the embodiment of the invention can be used for obviously increasing the use rate of the physical internal memory, so that the cost of the physical internal memory is reduced and the performance of the operation system is further promoted.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []