Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for memory management

A technology of memory management and memory management unit, which is applied in the field of memory management methods and devices, and can solve problems such as not enough

Active Publication Date: 2021-08-20
WEICHAI POWER CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the capacity of RAM is usually small, and RAM is also used for stacks, global variables, etc., and there is not enough space for variable calibration

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
  • Method and device for memory management
  • Method and device for memory management
  • Method and device for memory management

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0043] At present, the processor can access a large data area by setting the MMU. Specifically, the memory address used by the processor to access the physical memory can be a virtual address, and the MMU translates the virtual address into the corresponding physical address. The physical address corresponding to the virtual address accesses the physical memory. T...

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 embodiment of the present application provides a memory management method and device, which determines the target variable to be calibrated and the target virtual address area corresponding to the target variable, and determines the first mapping table entry where the target virtual address area is located in the MMU mapping table, wherein The first mapping entry includes a mapping relationship between the first virtual address area and the first ROM address area, and a mapping relationship between the second virtual address area and the second ROM address area, the target virtual address area is located in the first virtual address area, Then the first virtual address area can be mapped to the target RAM address area, and the second virtual address area can be mapped to the second ROM address area, so the target variable can be marked according to the first virtual address area, and the first virtual address area only is a part of the address area corresponding to the first mapping entry, so less RAM space is used when calibrating the target variable.

Description

technical field [0001] The invention relates to the field of computers, in particular to a memory management method and device. Background technique [0002] At present, the operating system generally adopts a virtual memory management (Virtual Memory Management) mechanism, which can run relatively large applications on the processor. The virtual memory management mechanism requires the support of an MMU (Memory Management Unit, memory management unit). [0003] Specifically, when the MMU is not set or the MMU is not enabled, the processor can access the physical memory through the memory address. At this time, the memory address is a real address, called a physical address (Physical Address, PA). Therefore, the memory address will directly act on the chip pins of the physical memory; after the MMU is enabled, the memory address used by the processor to access the physical memory is an artificially set address, called a virtual address (Virtual Address, VA), MMU The virtual...

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/10
CPCG06F12/10G06F2212/7201
Inventor 刘晓波史家涛陈娜娜徐龙增张国花
Owner WEICHAI POWER 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