Method and device for accessing memory
A device and memory technology, applied in the computer field, can solve problems such as hanging, no isolation and protection, system reset, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0076] Embodiment 1 of the present invention provides a method for accessing memory, see figure 1 , the method can include:
[0077] 101. Acquire a data access request from a first device requesting access to a first memory area, wherein the data access request includes a physical memory address of the data that the first device requests to access; the first memory area corresponds to the first device dedicated physical memory area;
[0078] Wherein, the first device is a device that implements a specific function by accessing the physical memory of the computer. For example, in the CPU of the X86 system and the FPGA data packet forwarding system, the first device is an FPGA; or, the first device can be a virtualization platform. Peripherals of the virtual machine; the present invention does not specifically limit the type of the first device;
[0079] The first memory area is a dedicated physical memory area allocated in physical memory for the first device to implement cor...
Embodiment 2
[0125] Embodiment 2 of the present invention provides a method for accessing memory. In an X86 system, the CPU cooperates with the FPGA data packet forwarding system in the FPGA data packet forwarding system to store data in the memory as an example. figure 1 The method for accessing the memory shown in the following description is described in detail, and the specific process of the method for accessing the memory can be completed by the physical machine where the physical memory is located;
[0126] It should be noted that, see image 3 , in the CPU of the X86 system cooperates with the FPGA data packet forwarding system, the data exchanged between the FPGA and the physical memory includes storing and reading data from the FPGA to the physical memory, and the embodiment of the present invention only uses the FPGA as the first device to store data to the physical memory as an example The method of accessing memory is described. The method of accessing memory of other devices ...
Embodiment 3
[0175] Embodiment 3 of the present invention provides a method for accessing memory, taking reading data packets from physical memory as an example, for figure 1 The method for accessing the memory shown is described in detail, and the specific process of the method for accessing the memory can be completed by the physical machine where the physical memory is located.
[0176] The method for allocating the first memory area and the physical memory address mapping of the first memory area and the definition of the message queue is similar to the method described in step 401, step 402 and step 403 in the second embodiment, and this embodiment is no longer described here repeat;
[0177] In this embodiment, it is assumed that: the physical address in the first memory area is 2001H-2400H; the message queue depth is 10, and the reference address is 2001H; the physical address of the location where data packet X is stored is 2300H; the data information corresponding to data packet X...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com