Dynamic memory management method
A management method and dynamic memory technology, applied in the field of memory management, can solve problems such as inability to meet the requirements of multi-space attribute dynamic memory management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0018] Embodiment: the present invention provides a kind of dynamic memory management method, based on the following function interface:
[0019] The xspace_malloc function is used to dynamically apply for the x attribute memory space;
[0020] The xspace_free function is used to release the x attribute memory space;
[0021] The get_allocatable_xspace_size function is used to return the size of the remaining dynamically allocated x-attribute memory space;
[0022] Include the following steps:
[0023] S1. The user uses the loader to load the object code to run the project, and specifies the total size of the x attribute memory space when running the project;
[0024] S2. The loader receives the total size of the x-attribute memory space specified by the user, and opens up an x-attribute memory space of a corresponding size;
[0025] S3. The loader loads the project object code, maps the static x-attribute memory space in the object code to the first half of the x-attribute...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
