summaryrefslogtreecommitdiff
path: root/src/memheap.c
AgeCommit message (Collapse)Author
2019-05-17Update the kernel and components to master version.armink
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2018-07-11[kernel] add assert to memheap objectliang yongxiang
2018-03-28[Kernel][memheap] fix rt_realloc bugsliang yongxiang
- missing free old memory after malloc new - free memory when new size is zero
2017-12-12[Kernel] Use rt_object_get_information to get object chainBernard Xiong
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2015-04-08memheap: check the USED bit in rt_memheap_freeGrissiom
This will ease the debugging of double-free bug.
2015-01-16memheap: check against over written in rt_memheap_freeGrissiom
2013-07-15memheap: dont alloc/memcpy when there is next node is enough for reallocGrissiom
When realloc a bigger space and the next node is free and big enough, we should directly relocate the next node instead of doing alloc/memcpy. The new method not only faster in this cases, it would avoid memory fragment as well.
2013-07-11fix the memory block splitting issueBernard Xiong
2013-06-29reformat the coding styleyiyue.fang
convert Tabs to spaces
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-06-03Fix the memheap_realloc issueBernard Xiong
2013-04-17add rt_memheap_realloc functionBernard Xiong
2012-12-30fixed the coding style in memheap.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2569 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as ↵[email protected]
system default memory heap. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-25fixed coding style in src/memheap.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20fixed the coding style of RT_DEBUG_LOG[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22fixed mutex issue in memheap; fixed compiling issue in kservice.c when ↵[email protected]
COMPILER is not defined; add finsh for win32 porting. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2365 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27split export symbols from rtm.c to each file[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-03add a new command list_memheap() into finsh [email protected]
and unify the coding style in memheap.c git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2151 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-05remove soft timer tick increase[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2108 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14Added memory heap object implementation; Added RT_LIST_OBJECT_INIT macro. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2046 bbd45198-f89e-11dd-88c7-29a3b14d5316