Lines Matching refs:memory
6 …memory is one of the most important resources on a computer. It is the memory space that is provid…
10 As shown in the following figure, the physical memory distribution of the LiteOS-A kernel consists …
12 **Figure 1** Physical memory usage distribution<a name="fig3648124205514"></a>
13 
15 …memory block groups, each of which contains 2<sup>N</sup> page frames. For example, the memory bl…
17 - Requesting memory
19 …memory \(3 page frames\) is requested, the list in group 3 \(with 8 page frames\) meets the requir…
21 **Figure 2** Requesting memory<a name="fig1319620135615"></a>
22 
25 - Releasing memory
27 …memory \(3 page frames\) is released, the 3 page frames can be divided into 2 \(2<sup>1</sup>\) pa…
29 **Figure 3** Releasing memory<a name="fig44001027165614"></a>
30 
37 **Table 1** Physical memory management module APIs
48 …313451287"><a name="p1377313451287"></a><a name="p1377313451287"></a>Requesting physical memory</p>
62 …94111245"><a name="p72594111245"></a><a name="p72594111245"></a>Requests memory of contiguous page…
65 …329691015710"><a name="p329691015710"></a><a name="p329691015710"></a>Releasing physical memory</p>
79 …0114"><a name="p1879675510114"></a><a name="p1879675510114"></a>Releases memory of contiguous page…
82 …18185714"><a name="p128501418185714"></a><a name="p128501418185714"></a>Querying memory address</p>
99 …memory. Heap management APIs are recommended for requesting small amount of memory. Physical memor…
102 >- APIs used for requesting physical memory can be used only after memory initialization is compl…
103 >- The basic unit for memory allocation is page frame, that is, 4 KiB.
104 …memory blocks for the modules that demand them, use **LOS\_PhysPagesAllocContiguous** to request…
108 This example calls APIs to request and release memory, including requesting one and multiple memory…
132 // Handle the physical memory
134 // Free the physical memory
166 // Handle the physical memory
169 // Free the physical memory
180 // Request multiple contiguous memory pages.
195 // Handle the physical memory
197 // Free the physical memory