Commit Graph

30 Commits

Author SHA1 Message Date
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
bernard.xiong fe92b1daed fix the rt_ipc_object_suspend issue when IPC flag is RT_IPC_FLAG_PRIO
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@201 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-16 08:28:01 +00:00
bernard.xiong bd533b3743 cleanup output message.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@198 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-13 15:38:25 +00:00
bernard.xiong 6db90b15af fix the cortex-m3 context switch bug when interrupt preempts pendsv exception; add RT_LWIP_ETH_PAD_SIZE option; fix device activate flag set issue in init function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@193 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-06 23:50:17 +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 c096268a88 fix mempool init bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@178 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-11-29 13:55:59 +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 17c81cfa21 change the mb/mq receive timeout to 0 if the re-calculated delta tick is a negative number. -- found by freescale@stmsky.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@128 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-24 23:07:12 +00:00
bernard.xiong 9ba0621463 update on scons script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@118 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-21 23:50:25 +00:00
bernard.xiong 39ff757705 fix timer re-start issue if stop a timer in itself timeout_func.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@107 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-19 12:11:17 +00:00
bernard.xiong 3c246ff153 add STM32 gcc version. apply scons build system.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@98 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-10-14 09:47:48 +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 bd11f44ab4 fix the memory statistic issue in rt_realloc function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@53 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-28 07:06:29 +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
wuyangyong 90238948ba fix _rt_scheduler_stack_check
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@47 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-16 14:32:33 +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 3bfe93e365 fix mutex release bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@45 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-10 12:29:15 +00:00
bernard.xiong e860e11ef7 remove fast event and fix ipc release bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@43 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-09 23:30:00 +00:00
bernard.xiong dc638b887c fix the fast event receive bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@29 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-31 12:31:19 +00:00
bernard.xiong 74f893fc2e fix memory re-allocation issue
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@15 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-08-03 14:00:27 +00:00
bernard.xiong 5488777d55 fix event clear bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@7 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-07-18 10:02:12 +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