Unlock instant, AI-driven research and patent intelligence for your innovation.

Address conversion method, device, electronic equipment and storage medium

An address conversion and address technology, applied in the field of communication, can solve problems such as complex operation, inability to modify at will, and inability to realize the applicability of the operating system, so as to achieve the effect of improving flexibility and simple operation

Active Publication Date: 2021-12-03
LOONGSON TECH CORP
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the conversion method between the DMA address and the physical address is a fixed script written into the kernel corresponding to different chips or bridges, which cannot be modified at will
Therefore, if there is a new conversion method, a corresponding new implementation method needs to be added to the kernel, so that the applicability of the operating system on other kernels cannot be realized; and every time a new conversion method appears, it needs to be implemented in the kernel. modification, complex operation

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
  • Address conversion method, device, electronic equipment and storage medium
  • Address conversion method, device, electronic equipment and storage medium
  • Address conversion method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0071] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0072] refer to figure 1 , which shows a flow chart of the steps of an address translation method embodiment of the present invention, which may specifically include the following steps:

[0073] Step 101, determine address information to be converted according to the obtained conversion instruction.

[0074] In a specific application, according to the technical solution described in the present invention, the conversion between the DMA address and the physical address can be realized, thereby ensuring that the program code can access the DMA address by accessing the corresponding physical address. Since DMA is a data transfer method used to reduce the workload of the CPU, it is possible to transfer data (especially transfer a la...

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

An embodiment of the present invention provides an address translation method, device, electronic equipment, and storage medium. The method includes: determining the address information to be translated according to the acquired translation instruction; and using the address association relationship according to the address information to be translated. The target address corresponding to the conversion instruction is obtained in the kernel; since the address association is based on the address information stored in the memory according to the preset write strategy in advance, the address information of the first array corresponding to the first type and the address information of the first array are generated. The mapping relationship between the address information of the second array corresponding to the second type, therefore, according to the address information to be converted determined by the conversion instruction, the mutual conversion between the target address and the address to be converted can be realized based on the address association relationship, and the operation It is simple and realizes the versatility on different operating systems, thereby improving the flexibility of the operating system.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to an address conversion method, an address conversion device, an electronic device and a storage medium. Background technique [0002] At present, drivers using DMA (Chinese: direct memory access; English: Direct Memory Access) will communicate with hardware connected to the bus interface. Since the hardware uses physical addresses, the program code uses virtual addresses. Based on DMA The hardware of the system uses the bus address, that is, the DMA address, so a connection channel will be established between the DMA address and the physical address, so that the program code can access the DMA address by accessing the corresponding physical address. [0003] In the prior art, the conversion method between the DMA address and the physical address is a fixed script written into the kernel corresponding to different chips or bridges, and cannot be modified at will. The...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/1081
Inventor 高巨鑫李雪峰
Owner LOONGSON TECH CORP