dzzxzz@gmail.com
c44d191564
refine the code in thread.c, delete the unnecessary line
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1913 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-09 11:52:03 +00:00
bernard.xiong@gmail.com
6b31d549c7
cleanup some comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1898 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 08:58:40 +00:00
wuyangyong
cc045f5132
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1894 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 06:48:46 +00:00
dzzxzz
86c5646fc0
change the version from 0.4.0 to 1.0.0
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1893 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 06:22:46 +00:00
bernard.xiong@gmail.com
27bbf04ac6
add more parameters checking in message queue
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1888 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-29 15:39:14 +00:00
dzzxzz
2e9291357d
delete a needless tab in function
...
char *rt_strncpy(char *dst, const char *src, rt_ubase_t n)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1887 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-29 06:35:55 +00:00
dzzxzz
9b9aaf6032
format the code in device.c,change the space to tab
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1885 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-28 02:49:11 +00:00
wuyangyong
85ceda00da
fixed rt_device_init issues.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1882 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-27 05:41:04 +00:00
dzzxzz
a1e64f295c
unify the ipc.c coding style according to the /documentation/coding_style_cn.txt
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1876 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-24 06:12:21 +00:00
dzzxzz
9e127126c7
delete line 27 in clock.c, function rt_timer_switch() not used in clock.c
...
line 27 extern void rt_timer_switch(void);
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1857 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-21 08:27:29 +00:00
bernard.xiong
e7eaf16bf4
fixed object name copy bug; update AT91SAM7S64 branch.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1787 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-08 04:06:12 +00:00
bernard.xiong@gmail.com
7b6f018f73
change the end of line to UNIX style.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1778 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30 00:38:44 +00:00
bernard.xiong@gmail.com
cc66f2dee6
clean up comments from chaos.proton@gmail.com.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1777 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30 00:37:15 +00:00
qiuyiuestc@gmail.com
1e06bb2726
fix compile error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1755 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-11 13:17:54 +00:00
qiuyiuestc@gmail.com
6ab04c6746
fix armcc compile error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1749 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-10 23:14:54 +00:00
bernard.xiong@gmail.com
130da0f1d9
RT_DEBUG_NOT_IN_INTERRUPT is only executed when rt_thread_defunct is not empty.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1739 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-05 07:00:04 +00:00
qiuyiuestc@gmail.com
96049b7e5c
add module support for cortex-m3 feature
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1731 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-28 02:10:43 +00:00
bernard.xiong@gmail.com
b886a19bf9
fixed errno issue when using newlib.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1729 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-25 02:33:51 +00:00
bernard.xiong@gmail.com
8e8b84dcdd
update building script.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1728 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-25 02:28:07 +00:00
dzzxzz
7926109356
cleanup kernel code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1722 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:57:31 +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
dzzxzz
405678552d
cleanup code in ipc.c and idle.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1713 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-19 07:15:31 +00:00
bernard.xiong@gmail.com
e7003777e0
cleanup ipc code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1707 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-11 03:35:12 +00:00
bernard.xiong
9fce2db27e
fixed the scheduling issue in rt_thread_startup; changed the end of line to UNIX style.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1703 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-08 02:17:18 +00:00
bernard.xiong
5aaa2b190c
do a scheduling when start a thread.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1701 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-07 06:07:15 +00:00
bernard.xiong
b69ec549ec
add reporter.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1690 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 09:33:03 +00:00
bernard.xiong
ed87391097
fixed rt_thread_exit issue if the current thread has been preempted.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1689 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 09:26:45 +00:00
bernard.xiong@gmail.com
445f8de91d
move assert.h to RT_USING_NEWLIB
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1685 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01 06:21:01 +00:00
bernard.xiong@gmail.com
472cc9334a
add errno implementation in RT-Thread.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1682 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-28 15:57:10 +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
mbbill@gmail.com
573b73465e
more updates on previous change
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1627 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 12:02:01 +00:00
mbbill@gmail.com
98d59d153e
bugfix: thread->error will be changed unexpectedly when sending a mail in interrupt context.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1626 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-13 06:58:25 +00:00
qiuyiuestc@gmail.com
79ff9b7399
fix compiling error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1620 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-05 13:43:52 +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
cfd580edf4
add rt_tick_set function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1551 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 14:45:35 +00:00
qiuyiuestc@gmail.com
1eca19cb01
eliminate compile warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-19 02:47:51 +00:00
bernard.xiong@gmail.com
de50381baa
because the sethook operation is invoked only in system initialization, the interrupt protect is removed.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1504 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-15 00:12:40 +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
mbbill@gmail.com
8cae5c147f
fix mailbox offset overflow
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1486 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 06:04:06 +00:00
bernard.xiong@gmail.com
3126b45da6
Remove divide instructions.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1477 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 14:13:38 +00:00
mbbill@gmail.com
fef619f7b0
fix an error when RT_USING_CONSOLE is not defined.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1474 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 10:48:59 +00:00
mbbill@gmail.com
ae674ab359
Now, lwip is using blocking mailbox.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1473 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:41:36 +00:00
mbbill@gmail.com
252bc41a2c
add a blocking mailbox post function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:07 +00:00
bernard.xiong@gmail.com
24c5c98240
move the setting next pointer to NULL out off interrupt disable.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1450 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:30:43 +00:00
bernard.xiong
3ea3d509ef
change the wrong end of line (all of them shall be UNIX end of line).
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1445 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-02 04:42:57 +00:00
qiuyiuestc@gmail.com
fe9f043b55
upgrade ftk demos
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1423 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 01:33:31 +00:00
qiuyiuestc@gmail.com
9faa3d9989
eliminate compile warning
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1407 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-16 01:18:43 +00:00
bernard.xiong@gmail.com
7a6949f248
cleanup trace log.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1404 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-14 00:12:49 +00:00
bernard.xiong
96c53b4957
fix the magic issue in allocated memory block.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1344 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-24 06:09:58 +00:00
bernard.xiong@gmail.com
64cf67f39a
fix new introduced issue: RT_ASSERT(mem->magic != HEAP_MAGIC);
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1341 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-23 12:52:31 +00:00
bernard.xiong
8dbcab1c4a
update more debug information.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1338 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-21 07:40:09 +00:00
bernard.xiong@gmail.com
939ca85ee5
add RT_USING_CONSOLE definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1330 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-12 00:08:47 +00:00
wuyangyong
7bc4fe3b74
add IDLE_THREAD_STACK_SIZE in rtconfig.h
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1306 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-04 09:16:41 +00:00
bernard.xiong
ae0ea17933
update version information.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1289 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-24 02:07:49 +00:00
bernard.xiong@gmail.com
4e3839d702
add RT_USING_DEVICE definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-24 13:40:42 +00:00
bernard.xiong@gmail.com
86e7b772c2
add object allocation check.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1258 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-24 13:25:36 +00:00
qiuyiuestc
ba50795195
update module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1233 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-05 00:40:46 +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
d8b4897cac
update export symbols
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1217 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-20 12:55:13 +00:00
qiuyiuestc
848a08f62e
extract module symbol via elf file instead of using RTM_EXPORT declare
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1214 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-19 12:12:23 +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
qiuyiuestc
179bdeca6c
update elf loader
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1200 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13 14:17:00 +00:00
bernard.xiong
12750c38b8
add defunct list initialization even if not use heap.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13 05:26:15 +00:00
qiuyiuestc
b769aa15d7
update export symbols
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1197 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13 00:52:32 +00:00
qiuyiuestc
b7e62fb733
update elf loader for R_ARM_RELATIVE type relocation
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1196 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13 00:33:07 +00:00
qiuyiuestc
0ee9b3d922
use rt_malloc_page api in module.c
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1189 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-10 00:20:30 +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
wuyangyong
80af4ee98e
add __weak for rt_hw_console_output (IAR)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1172 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-02 03:36:19 +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
bernard.xiong
30967678b1
fix compiling issue when RT_USING_HEAP is not defined.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1149 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 05:20:41 +00:00
qiuyiuestc
cd38776feb
fix spell error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1143 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 14:29:13 +00:00
bernard.xiong@gmail.com
8dfab786e1
add FINSH_FUNCTION_EXPORT_ALIAS preprocessor in finsh shell.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1142 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 13:29:51 +00:00
bernard.xiong@gmail.com
bd15cf6a7a
cleanup rt_module_open code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1141 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 13:11:18 +00:00
bernard.xiong@gmail.com
7a80d831c9
update doxygen comments.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 00:04:55 +00:00
bernard.xiong@gmail.com
5597823b83
apply new tick overflow patch from Charlie
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1117 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-25 23:44:58 +00:00
qiuyiuestc
23062d20b9
fix moudule memory alloc issue
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1108 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 16:10:23 +00:00
qiuyiuestc
56c6c301bc
clean up code
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1106 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 01:27:45 +00:00
qiuyiuestc
5a8d5a56cb
update module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1097 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-23 01:20:20 +00:00
qiuyiuestc
c7f8c325af
module update for extension
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1086 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 01:24:37 +00:00
bernard.xiong@gmail.com
f84c16c60d
recover rt_object_find function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1085 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 23:57:33 +00:00
bernard.xiong@gmail.com
15f07a3e68
initial cleanup function of thread to zero.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1070 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 15:18:39 +00:00
bernard.xiong@gmail.com
10732a76e9
cleanup scons building script
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
qiuyiuestc
d240423d74
construct module symbol table
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 16:17:07 +00:00
bernard.xiong
7018ab0661
add cleanup callback function on thread exit; add IPC object reset command.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1043 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-12 10:16:33 +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@gmail.com
af2019888f
fix struct stat issue.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1026 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-21 23:54:55 +00:00
qiuyiuestc
9403fd7fc5
support kernel symbol link in module system
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1022 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 09:25:00 +00:00
bernard.xiong
ad3d42106a
Improve the Device File System of the POSIX compatibility
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1017 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 08:20:42 +00:00
bernard.xiong
9e324032b6
fix rt_realloc issue when realloc a NULL pointer.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1010 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-14 09:38:03 +00:00
mbbill
a2055ef63a
FIX: #endif out of position.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@959 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-26 14:12:17 +00:00
qiuyiuestc
09c3fdc0e5
update module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@950 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 16:38:00 +00:00
qiuyiuestc
7fd452b8a6
module update
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@946 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 15:30:25 +00:00
qiuyiuestc
878d1b3636
update module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@933 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-23 11:10:17 +00:00
qiuyiuestc
a8eff5c965
fix object create error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@916 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-20 00:02:11 +00:00
qiuyiuestc
446799244a
module clean up
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@915 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-19 23:43:48 +00:00
qiuyiuestc
463e70efef
clean up
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@907 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:14:04 +00:00
qiuyiuestc
d54f2bbfc6
module update
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@905 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:03:09 +00:00
bernard.xiong
2e0352e653
add rt_thread_idle_excute API.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@830 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-05 08:16:30 +00:00
qiuyiuestc
b3207276bd
small change
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@820 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-01 23:25:41 +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
qiuyiuestc
f834265044
reconstruct module
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@810 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-21 00:27:11 +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
4902e69f1e
change the ALIGN definition for IAR compiler.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@781 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:08:24 +00:00
bernard.xiong
59b014b640
move module.h into RT_USING_MODULE
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@767 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-11 10:19:13 +00:00
bernard.xiong
17e528db4f
fix memory check in rt_realloc function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@763 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-09 06:43:14 +00:00
qiuyiuestc
470feff16f
fix armcc compile error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@749 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 16:22:11 +00:00
qiuyiuestc
25e7ea1745
module developing, application can be run successfully
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@747 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 15:27:27 +00:00
qiuyiuestc
8b8dba661f
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-29 14:19:56 +00:00
bernard.xiong@gmail.com
0eaf2098b8
fix the timer check bug.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@730 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 23:26:08 +00:00
bernard.xiong@gmail.com
88bfa45e7a
fix thread delete issue when module is not used.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@725 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 01:13:41 +00:00
bernard.xiong@gmail.com
ecea5d2b89
fix thread delete issue when module is not used.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@724 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-21 23:55:38 +00:00
bernard.xiong
5836237ae3
add more RT_USING_MODULE definition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@717 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-16 03:02:44 +00:00
bernard.xiong
157bc5f263
remove rt_object_find function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@693 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-04 02:03:11 +00:00
bernard.xiong
fca4e1a719
remove rt_object_find function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@690 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-03 23:17:25 +00:00
qiuyiuestc
c8efa6b331
continue...
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@668 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-23 14:51:28 +00:00
qiuyiuestc
4a42aa2de6
fix compile error
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@667 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-23 14:49:11 +00:00
qiuyiuestc
b87f6d562b
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@666 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-23 14:23:23 +00:00
qiuyiuestc
38c432620f
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@663 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-21 16:59:06 +00:00
bernard.xiong
a0c9b0e90e
move memcpy outside interrupt disable in mq.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@661 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 23:19:40 +00:00
qiuyiuestc
3baab7b053
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@660 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 17:00:51 +00:00
bernard.xiong
99bfaf72d9
modify building script for components.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@642 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 22:16:50 +00:00
qiuyiuestc
0d7a1c0be7
module developing
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@625 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-16 00:53:48 +00:00
bernard.xiong
9921361162
remove weak symbol in ICCM16C compiler.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@623 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-15 02:51:20 +00:00
bernard.xiong
5195a7fb79
change version number
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@622 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-15 01:41:10 +00:00
bernard.xiong
23ea4f1b74
add __ICCM16C__ compiler support.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@621 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-14 00:40:20 +00:00
qiuyiuestc
cbfb87fac1
add module feature
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@614 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-12 17:37:37 +00:00
qiuyiuestc
5211e7ff8f
add module feature
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@604 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-11 16:44:54 +00:00
bernard.xiong
f0d78afbf2
support maximal priority level is 8.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@568 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-31 23:21:02 +00:00
bernard.xiong
f459d4811e
change the errno of rt_thread_delay/sleep to RT_EOK.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@520 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-20 23:52:47 +00:00
bernard.xiong
5e2bb92cda
remove rt_strlcpy function.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@499 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-17 04:19:17 +00:00
kyle.hu.gz
9ac8c55353
Fixed a memory corruption issue in rt_realloc().
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-16 19:51:36 +00:00
gary.li.wenchao.4
24c754e257
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@491 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-16 13:37:14 +00:00
gary.li.wenchao.4
d45d23a96a
fixed kservice.c compiling error for gcc
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@482 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-14 11:54:17 +00:00
bernard.xiong
5e82a9a022
remove rt_passed_second in clock; init device driver when driver has been opened if it is not in activate status; change interrupt nest count to rt_uint8_t; add rt_console_set_device function in kservice.c (rt_kprintf function can use device right now)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-08 23:09:40 +00:00
bernard.xiong
51e545f575
move object container initialization to static initialization.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@458 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-03 09:11:00 +00:00
gary.li.wenchao.4
6c82f5086f
add strlcpy
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@412 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-16 15:11:18 +00:00
bernard.xiong
b557f30630
remove rt_ipc_object_decrease function
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-19 23:55:54 +00:00
mbbill
f8f7a5f510
FIX: Removed suspend_thread_count.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@317 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-19 03:17:37 +00:00
bernard.xiong
e79dec8f0a
RT_MEM_STATS is used for most condition.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@268 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-31 13:33:59 +00:00
mbbill
54de5a60ba
FIX: Removed RT_MEM_DEBUG definition, it should be defined in rtconfig.h . Forgot to remove ?
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@264 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-30 16:17:04 +00:00
mbbill
54453a0748
FIX: Revert thread.c and rtthread.h to previous version.
...
FIX: Abort handler will suspend current thread instead of terminate it.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@260 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 08:13:45 +00:00
mbbill
79ca654e13
ADD: Add abort handler, it will terminate current thread by default.
...
ADD: Merged svc, abort and irq mode stack.
ADD: Changed MDK project to new format.
FIX: Removed the "static" qualifier of rt_thread_exit().
FIX: Change AT91SAM7X.h to the standard header(AT91SAM7X256.h) of RealView MDK. (not all of them are changed, e.g. sd.c)
FIX: Moved some board-dependent files to bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-29 07:17:58 +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
8f90e129d3
clean up software timer code.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@222 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-24 00:03:57 +00:00
lijin.unix
10a46e477b
changed soft timer thread resume mode.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@220 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-23 15:15:05 +00:00
bernard.xiong
1133895d2c
remove the software timer check in tick handle.
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@219 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-23 13:52:42 +00:00
lijin.unix
8c8aa4418b
add soft timer.other's platform maybe compiled err,pls add some macro definition in rtconfig.h. ( RT_TIMER_THREAD_STACK_SIZE RT_TIMER_THREAD_PRIO RT_TIMER_EX_TICKS_PER_SEC)
...
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-22 15:06:27 +00:00