Tangyuxin
d724eed9fc
分离内存分配接口与内存分配算法 ( #5175 )
...
* [kernel][mem] Multiple instances of small memory allocation algorithm
* [kernel][mem] Change small memory management algorithm memory header flag
* [kernel][mem] Fix assertion problem
* [kernel][slab] Multiple instances of slab memory management algorithm
* [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces
* [kernel][mem] Clean up memory space of small memory management objects
* [kernel][kservice] Add memory application interface and thread protection interface
* [kernel][kservice] Fix function return value problem
* [kernel][memheap] Optimize memheaptrace print
* [kernel][memheap] Support best mode
* [kernel][memory] Remove semaphore lock
* [kernel][memheap] Add locked flag
* [kernel][memory] Support malloc memory in interrupt
* [kernel][memheap] Add 'memheapcheck' cmd
* [kernel][mem] Fix failure to request full memory
* [kernel][memheap] Fix compilation warning
* [kernel][mem] Fix mem realloc ASSERT
* [examples][testcases] Add small mem testcase
* [examples][mem_tc] Modify test memory size
* [examples][testcases] Add slab memory management algorithm test case
* [examples][testcases] fix small memory management algorithm test case
* [kernel][memory] Adjusting memory allocation algorithm object definition and interface
* [kernel][memory] Fix compilation warning
* [examples][utest] Fix mem test case
* [examples][utest] fix slab test case
* [utest][testcases] Shorten test time
* [kernel][memory] Formatting code
* [examples][utest] Adjust test run time
* [examples][utest] Formatting code
* [bsp] update all rtconfig.h
2021-12-16 16:23:58 +08:00
yangjie
464d0c5a97
[kernel] update comments
2021-09-11 16:40:56 +08:00
yangjie
5de6996670
[kernel]update format
2021-09-10 17:51:52 +08:00
yangjie
a912a2f88f
[kernel]Normalized kernel API annotation
2021-09-10 17:31:31 +08:00
guo
b24447a60a
Merge pull request #4785 from mysterywolf/endif
...
[kernel] 补充endif后缀注释
2021-06-13 09:39:52 +08:00
Meco Man
8b53609f57
[kernel] 补充endif后缀注释(3)
2021-06-10 18:39:43 +08:00
Meco Man
b2dd3f00f0
[bug][kernel][heap] 将内存堆保护机制由FIFO改为PRIO
2021-06-07 16:45:39 +08:00
Hunter
f7d198463e
注释错误,此处的场景是zone满了,不是空了
2021-05-15 21:57:01 +08:00
Meco Man
678306d300
[kernel]auto formatted
2021-03-08 11:25:38 +08:00
ZYH
163772fb67
fix slab at 64bits CPU
2019-03-20 15:11:52 +08:00
liruncong
39673cf4f6
[src]消除参数传递警告(warning: passing argument 1 of 'zoneindex' from incompatible pointer type [-Wincompatible-pointer-types])
2019-03-10 10:54:54 +08:00
Bernard Xiong
41f7f2c284
[Kernel] Update to Apache License v2.0
...
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
Bernard Xiong
df64a297ab
[Kernel] Remove memory ops when SLAB and module enable
2018-06-10 18:46:11 +08:00
bernard
c733086354
[Kernel] Fix sem_release twice issue in slab.
2017-10-31 11:38:28 +08:00
emlslxl
e521decf2e
根据documentation/coding_style_cn.txt约定 对内核src和include目录下的文件代码进行格式化
2017-09-15 11:02:24 +08:00
dogandog
beb005e20d
Correct comments about doxygen format
...
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2016-08-19 10:17:36 +08:00
Bernard Xiong
79392bb082
Embedded GPLv2 license.
2013-06-24 17:06:09 +08:00
dzzxzz@gmail.com
4952adb4f0
fixed coding style in src/slab.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2527 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-25 09:24:41 +00:00
dzzxzz@gmail.com
0e40d55d9f
fixed the coding style of RT_DEBUG_LOG
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20 07:25:19 +00:00
qiuyiuestc@gmail.com
a73abdccf5
split export symbols from rtm.c to each file
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27 01:21:57 +00:00
bernard.xiong@gmail.com
0f519b6721
move src\kservice.h to include\rtservice.h.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2005 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22 06:11:44 +00:00
dzzxzz
12b5e56f46
unify the coding style of kernel
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17 06:43:49 +00:00
dzzxzz
c0f80bdf9a
cleanup kernel code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21 03:56:42 +00:00
qiuyiuestc@gmail.com
77d5cd30ea
fix memory statistic error bug
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1659 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-03 14:09:20 +00:00
qiuyiuestc@gmail.com
cea21370a4
rewrite module memory allocator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1618 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 23:48:07 +00:00
bernard.xiong@gmail.com
ee68988518
change the RT_DEBUG_NOT_REENT to RT_DEBUG_NOT_IN_INTERRUPT.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14 23:59:42 +00:00
mbbill@gmail.com
864bd11802
Add reentrance check. Put kernel debug switch together.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 10:01:48 +00:00
qiuyiuestc
aa1a78082f
fix memory static problem
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1232 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 00:39:36 +00:00
qiuyiuestc
5b440a3429
fix zone release bug
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1209 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-18 00:46:02 +00:00
bernard.xiong@gmail.com
fbe81f8c4c
add IAR compiler version check in weak; add rt_malloc_page/rt_free_page for application module; fix the software timer thread stack issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1183 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-08 23:17:23 +00:00
bernard.xiong@gmail.com
1a8721ecdf
add list_mem function in slab allocator.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1178 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-05 11:59:54 +00:00
bernard.xiong
b13215b7c7
fix malloc(0xffffffff) issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1154 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 06:57:30 +00:00
qiuyiuestc
644c879a4c
add rt_module_realloc implement
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1037 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-01 01:03:50 +00:00
qiuyiuestc
fb7d4122fc
implement module memory allocator
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-28 01:21:47 +00:00
bernard.xiong
0a64bac9d9
apply kuronca patch for heap initialization check.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@811 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-22 02:54:19 +00:00
bernard.xiong
214e44c3f9
fix down alignment issue; fix the maximal number of rt_scheduler_lock_nest issue; fix rt_tick_from_millisecond issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-13 07:36:37 +00:00
bernard.xiong
51e2d91378
add license and copyright info
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-25 12:18:53 +00:00
bernard.xiong
bda4730a94
import RT-Thread RTOS 0.3.x to Google SVN
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-02 22:48:23 +00:00