Supercharge Your Innovation With Domain-Expert AI Agents!

Virtual memory management method and device supporting physical address larger than virtual address

A physical address and virtual memory technology, applied in the computer field, can solve problems such as system errors and crashes, reduce the risk of errors and improve system stability

Pending Publication Date: 2022-03-18
BEIJING ESWIN COMPUTING TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Although in most processor architectures, the virtual address bit width is generally not smaller than the physical address bit width, in some cases there will be a problem that the virtual address bit width is smaller than the physical address bit width, such as the Sv39 mode in the RISC-V architecture (39-bit page memory management architecture provided for 64-bit systems with RISC-V structure) and Sv48 mode (48-bit page memory management architecture provided for 64-bit systems with RISC-V structure) there are virtual address bit widths less than The problem of the bit width of the physical address can easily lead to system errors or even crashes during the address translation process

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Virtual memory management method and device supporting physical address larger than virtual address
  • Virtual memory management method and device supporting physical address larger than virtual address
  • Virtual memory management method and device supporting physical address larger than virtual address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0027] The virtual memory management method supporting RISC-V and many-core architecture provided by the embodiment of the present invention is applicable to various central processing units (Central Processing Unit, CPU), such as A510 CPU and S710CPU, etc., and can be used in the Sv39 mode of RISC-V Or determine the physical address corresponding to the virtual address in Sv48 mode.

[0028] see figure 1 , figure 1 It is a schematic flowchart of a virtual m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a virtual memory management method and device supporting a physical address larger than a virtual address. The method comprises the following steps: determining a target virtual address corresponding to an instruction fetching address or a memory access address in any one of a user mode, a supervision mode or a machine mode; a target physical address corresponding to a target virtual address is determined by accessing a virtual memory management unit, page table entries for mapping the virtual address to the physical address are built in the virtual memory management unit, and the bit width of the target virtual address may be smaller than or equal to the bit width of the target physical address, especially in the field of many-core application; and finally, the target physical address is returned to the corresponding fetch unit or memory access unit, and correctness and validity are ensured. By adopting the embodiment of the invention, the address translation from the virtual address to the physical address can be completed under the condition that the bit width of the virtual address is smaller than the bit width of the physical address, the many-core architecture can be ensured to effectively work in various modes such as a user mode, a supervision mode and a machine mode, and the applicability is high.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a virtual memory management method and device that support a physical address larger than a virtual address. Background technique [0002] Any computer system with a certain complexity relies on the cooperative work of multiple processes running on the processor. Since each instruction has its own virtual address, it is necessary to complete the conversion from virtual address to physical address. [0003] Although in most processor architectures, the virtual address bit width is generally not smaller than the physical address bit width, in some cases there will be a problem that the virtual address bit width is smaller than the physical address bit width, such as the Sv39 mode in the RISC-V architecture (39-bit page memory management architecture provided for 64-bit systems with RISC-V structure) and Sv48 mode (48-bit page memory management architecture provided for 64-bit sys...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/4557G06F2009/45583G06F2212/684G06F2212/651G06F12/1009G06F2212/681G06F12/1036G06F2212/152G06F12/1441G06F12/1491G06F2212/1052G06F12/0623G06F2212/1032G06F2212/1004G06F2212/1008G06F12/1027G06F2212/657
Inventor 陈伟杰
Owner BEIJING ESWIN COMPUTING TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More