Memory allocation management system of heap space and embedded chip
A memory allocation and management system technology, applied in the field of memory allocation management systems and embedded chips, can solve the problems of low time-consuming efficiency, serious fragmentation, and difficult maintenance for users, so as to reduce time-consuming, improve efficiency, increase The effect of reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0041] Such as Figure 8 Example 1 shown: Taking the creation of the heap space in the application of a multi-core DSP chip as an example, it is implemented according to the following steps:
[0042] (101), according to the private or shared attributes set by the application, to define a global array variable in the core private space by dividing the memory as the heap space, and the size of the array is the size of the heap space to be created;
[0043] (102), according to the heap attribute structure provided by this scheme, define a structure variable, which is to record and create the relevant attribute parameters of the heap;
[0044] (103), setting the quantity of typical length block of heap, and the size of each typical length;
[0045] (104), define the name of the heap;
[0046] (105), with steps (101), (102), (103), (104) and private or shared heap attribute mark as creation function input parameter, call heap creation function;
[0047] (106), judge the legitima...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


