Commit Graph

180 Commits

Author SHA1 Message Date
qiuyiuestc@gmail.com ffa1c57e10 eliminate compile warning in module.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2037 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-13 14:06:33 +00:00
bernard.xiong@gmail.com 9975b31d63 fix align issue in rt_mp_init and rt_mp_create function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2007 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-23 07:26:38 +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
bernard.xiong@gmail.com b6c1ebf423 add RT_PRINTF_PRECISION in kservice.c; fix re-schedule issue in IPC control function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2003 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22 05:57:54 +00:00
qiuyiuestc@gmail.com 407f922a5b fix module unload issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2001 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-18 04:26:22 +00:00
qiuyiuestc@gmail.com b36c286036 fix module unload issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2000 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-18 03:53:54 +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
bernard.xiong@gmail.com 7ebea8fe65 deprecated rt_system_tick_init function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1931 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 12:17:47 +00:00
bernard.xiong@gmail.com 18888679cd add alignment memory allocation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1928 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-30 12:22:57 +00:00
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