Commit Graph

529 Commits

Author SHA1 Message Date
dzzxzz@gmail.com 1641c9db4f add memory heap object in module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2113 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-07 06:23:30 +00:00
bernard.xiong@gmail.com 87195cf84e Added memory heap object implementation; Added RT_LIST_OBJECT_INIT macro.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2046 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14 03:52:56 +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 3b805a8137 remove the duplicated rt_sprintf declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2002 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-21 04:03:20 +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
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 5d2d94eb3d add RTTHREAD_VERSION definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1965 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-18 15:03:21 +00:00
goprife@gmail.com 4f72d1cba1 remove some warning in jffs2, and fix armcc compile error when using scons
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1929 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31 01:29:22 +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
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
bernard.xiong@gmail.com bcf0bd361b fix a spell issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1896 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-31 07:04:05 +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 f6f81eb0ce Add more device type.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1835 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-11 15:14:25 +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
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 a8f51bf63a fix compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1670 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-08-15 14:05:41 +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
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 1aa724b5d8 fixd a compiler error in rtdebug.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1497 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-13 02:40:24 +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 70c031362a add a test case for blocking mailbox send
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:46 +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 64517f05c5 update graphic driver interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1465 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 15:40:24 +00:00
bernard.xiong@gmail.com a714392b70 update graphic driver interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1464 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 15:23:03 +00:00
bernard.xiong@gmail.com 54f422ebb4 add more device definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1457 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-06 03:51:18 +00:00
bernard.xiong@gmail.com 6e88bffff9 add graphic device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1456 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-06 03:47:56 +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 43a6a907da use builtin va_arg in GCC 4.x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-09 02:50:01 +00:00
dzzxzz ca52080ade change "inline" to "static inline" for IAR compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1319 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-08 08:51:42 +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
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 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
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 d174592eff recover rt_object_find function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1084 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-21 23:57:13 +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
jiaojinxing1987@gmail.com c1798b7585 struct rt_thread 的 stack_size 改回 rt_uint16_t 类
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-04 07:55:24 +00:00
jiaojinxing1987@gmail.com e7211af8a7 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@994 bbd45198-f89e-11dd-88c7-29a3b14d5316 2010-10-02 14:02:43 +00:00
qiuyiuestc 1c590cf5d9 module update
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@947 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-25 15:30:42 +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 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 b1357bd0db add module definition
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@908 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:16:10 +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 ae53558a6b fix rt_device_blk_geometry compile error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@796 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-17 09:37:46 +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 5900cc0c73 change the ALIGN definition for IAR compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@780 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:08:07 +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 b34d10449f change some field's type in RT-Thread RTOS definitions.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@729 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-22 15:02:04 +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 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 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 1f42e27ece [mini2440]use long filename feature
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@655 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-20 01:09:07 +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 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 9294a611f5 add LPC11xx Cortex-M0 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@583 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-06 10:00:28 +00:00
mbbill b8653e766f FIX: If we place a return statement after RT_ASSERT we will get a warning: "statement is unreachable" in debug mode. This fix removed this warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@487 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-14 15:11:35 +00:00
bernard.xiong 1c9c3bf175 add rt_console_set_device declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@463 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-08 23:06:57 +00:00
gary.li.wenchao.4 26e8c8c1ab remove maximun value of base type
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@427 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-20 09:22:43 +00:00
bernard.xiong 1e67026b13 add sound device definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@334 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-25 00:01:27 +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
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 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
bernard.xiong af965befa9 change mempool hook parameter and fix the name mistake of rt_scheduler_sethook function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@192 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-04 09:37:14 +00:00
bernard.xiong 2ea6844081 add rt_memory_info function in kernel; cleanup code in dfs_posix.c; add Chinese Font(file cached) support in RTGUI;
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@166 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-15 14:47:26 +00:00
bernard.xiong c8d02426c7 remove not exist hook and add more object hook declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@156 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-06 07:45:37 +00:00
bernard.xiong 6718379b81 add rt_calloc function declaration.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@87 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-11 05:43:15 +00:00
bernard.xiong ff705032d8 change semaphore and mutex value to unsigned value
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@84 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-09 23:58:46 +00:00
bernard.xiong 8e76594241 convert dos endline to unix endline; cleanup schedule code for STM32
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@49 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-20 23:43:51 +00:00
bernard.xiong 4bd258ce7b remove fast event
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@46 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-13 23:34:52 +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