文件名称:lll
-
所属分类:
- 标签属性:
- 上传时间:2017-04-20
-
文件大小:2.3kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这个是一个stm32的内存分配的程序,思路如下:
将内存分块管理.
内存池等分为固定大小的内存块.
建立一个内存状态表,对应每个块,有多少个块,状态表就有多少个元素,一一对应.
通过状态表的值判断该块内存是否可用(为0则表示可用,为其他值则表示被占用了,而且占用的内存块数量,就是该值的数字)-This is a stm32 memory allocation procedures, the idea is as follows:
Divide the memory into blocks.
Memory pool is divided into fixed-size memory block.
The establishment of a memory state table, corresponding to each block, how many blocks, the state table has the number of elements, one by one correspondence.
The value of the state table to determine whether the block is available (0 is available, for other values that are occupied, and the number of memory blocks occupied by the value of the number)
将内存分块管理.
内存池等分为固定大小的内存块.
建立一个内存状态表,对应每个块,有多少个块,状态表就有多少个元素,一一对应.
通过状态表的值判断该块内存是否可用(为0则表示可用,为其他值则表示被占用了,而且占用的内存块数量,就是该值的数字)-This is a stm32 memory allocation procedures, the idea is as follows:
Divide the memory into blocks.
Memory pool is divided into fixed-size memory block.
The establishment of a memory state table, corresponding to each block, how many blocks, the state table has the number of elements, one by one correspondence.
The value of the state table to determine whether the block is available (0 is available, for other values that are occupied, and the number of memory blocks occupied by the value of the number)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lll.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.