Commit Graph

324 Commits

Author SHA1 Message Date
Bernard Xiong da7751c044
Merge pull request #3129 from jesven/fix_same_prio
修正相同优先级任务切换太频繁的问题
2019-11-12 22:47:18 +08:00
shaojinchun e03ac83ad3 将yield状态置于tcb的stat位域中 2019-11-05 08:41:38 +08:00
Dryad baeda71eaa 修复了g++编译器无法展开自动初始化宏的错误 2019-10-28 10:38:05 +08:00
shaojinchun 234af6aaa2 修正相同优先级任务切换太频繁的问题 2019-10-12 10:51:47 +08:00
Bernard Xiong 5cd6509296 [Kernel] cleanup code of spinlock in SMP Kernel 2019-09-28 11:56:03 +08:00
shaojinchun cb07e5fb24 开放spinlock相关函数 2019-09-27 14:38:33 +08:00
tangyuxin e4671d2916 [kernel][ipc] add send wait support for message queue 2019-09-19 10:10:02 +08:00
Bernard Xiong ae7a33c27c
Merge pull request #3077 from jesven/fix_mempool
修正rt_mp_free有可能唤醒一个错误任务指针的问题
2019-09-17 14:11:14 +08:00
shaojinchun ae1fdc70f0 修正rt_mp_free有可能唤醒一个错误任务指针的问题 2019-09-16 16:55:40 +08:00
zhangjun b69ce64286 改回O_DIRCTORY与O_NONBLOCK,解决O_DIRCOTY与newlib中O_BINARY的相同定义 2019-08-20 09:16:42 +08:00
zhangjun 00d7cd66f2 fixup two macro definition in include/libc/libc_fcntl.h 2019-08-10 16:32:31 +08:00
tyx c8e27adf1f [src][ipc]完善 message queue 相关定义 2019-07-09 21:34:56 +08:00
tyustli 89b90592ee add touch framework 2019-06-12 09:38:32 +08:00
Bernard Xiong b4e141fee1
Update rtdef.h 2019-05-17 08:34:10 +08:00
Bernard Xiong bb506e8493 [pthreads] Add spinlock declare and fix code issue. 2019-05-12 21:44:28 +08:00
shaojinchun c5249157d7 增加signal的状态位说明及一处代码修改,以防止编译警告 2019-05-11 09:35:26 +08:00
shaojinchun 6cdfb2ac92 fix signal code 2019-05-11 09:34:26 +08:00
Bernard Xiong 21cd524bdb [Kernel] Fix the SPINLOCK definitions issue. 2019-05-09 08:48:38 +08:00
shaojinchun 7bcee9bcb1 semaphore结构中value仍改为uint16_t,加入对其设置范围的检测,加入对齐变量 2019-04-24 09:14:00 +08:00
shaojinchun fa697a763f 修改sem中的value成员变量和赋值参数类型相同 2019-04-19 14:57:50 +08:00
yangfasheng fde1346d5b add RTGRAPHIC_PIXEL_FORMAT_COLOR to graphic deice
Signed-off-by: yangfasheng <yangfasheng@live.com>
2019-04-14 13:33:29 +08:00
armink 35bb75b96b [rtdbg] Simplify the debug tag and level macro to DBG_TAG and DBG_LVL. 2019-04-12 10:17:22 +08:00
MurphyZhao 5885fc414f [include/libc] 在使用 ARMCC 和 IAR 时,移除对 errno.h 的引入。如果引入了 errno.h,errno 就不会被重定向到 _rt_errno。
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-04-11 14:27:16 +08:00
BernardXiong 1487a4f732 [Kernel] Support ARCH data types definitions 2019-03-26 01:03:39 +00:00
HubretXie 1e16a1ef23
修改函数返回类型
rt_tick_from_millisecond返回类型修改为rt_tick_t
2019-03-20 14:55:59 +08:00
armink b2c338970f [kservice] Update the rt_strnlen function. 2019-03-09 15:46:56 +08:00
armink 7f3f8d8352 Update the rtdbg.h for ulog enable. 2019-03-09 13:43:35 +08:00
armink 8fa6c1d9cd Remove dbg_enter and dbg_exit macro. 2019-03-06 18:02:29 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
MLW b7e672e096 修复libc_errno.h的bug 2019-03-02 15:12:46 +08:00
guozhanxin 64813b6b07 add first version 2019-02-12 14:09:34 +08:00
Bernard Xiong d68c0f225d
Update rtdef.h
Update version number to v4.0.1
2019-01-27 21:58:07 +08:00
Bernard Xiong 137ed381c7
Merge pull request #2123 from jesven/fix_list_thread
修正list_thread关中断时间过长的问题
2018-12-27 17:16:32 +08:00
shaojinchun ed9a558da9 list_*时,提供对第一层object的原子保护 2018-12-27 16:31:22 +08:00
Bernard Xiong 96e6deac29 [Kernel] Fix the errno definitions in armcc/iar. 2018-12-27 09:11:07 +08:00
Bernard Xiong 9834fd858c
Merge pull request #2122 from dogandog/patch-4
Update rtservice.h
2018-12-26 13:03:43 +08:00
Owen 66cf4b9cf0
Update rtservice.h
更正为正确的Doxygen组定义语法
2018-12-26 10:16:04 +08:00
Owen e716bbfa22
Update rtdef.h
更正为正确的Doxygen组定义语法
2018-12-26 10:13:26 +08:00
Bernard Xiong a74a3031f0
Merge pull request #2081 from jesven/sync_smp_skeleton
Sync smp skeleton
2018-12-18 14:02:04 +08:00
shaojinchun eff767a074 remove rt_hw_mb define
sync smp skeleton
2018-12-17 11:02:09 +08:00
shaojinchun f5426f4a86 1 增加了bsp数据屏障接口函数 rt_hw_mb()
2 去除在secondary_cpu_c_start重复了的IPI handler的注册
2018-12-13 09:49:15 +08:00
shaojinchun b3e1507bcf 1 RT_THREAD_CTRL_BIND_CPU define to 4
2 RTM_EXPORT(rt_cpus_lock_status_restore)
3 sync ARCH_CPU_STACK_GROWS_UPWARD in _rt_scheduler_stack_check()
2018-12-12 09:36:39 +08:00
liruncong fe24d089f8 [include]rt_hw_interrupt_install函数name参数增加const限定 2018-12-05 20:34:19 +08:00
chenchaoqun@rt-thread.com a0ef72ee93 [unite] header of process 2018-11-24 14:14:39 +08:00
shaojinchun fc6bc1ad39 Add smp support to RT-Thread 4.0 2018-11-22 18:16:47 +08:00
Bernard Xiong 46dae3f35f
Merge branch 'master' into dev-4.0.x 2018-11-20 23:13:45 +08:00
Bernard Xiong c8d38b79ff
Update rtdef.h 2018-11-18 08:59:48 +08:00
Bernard Xiong 8a3cfe09b7
Update rtdef.h 2018-11-18 08:59:29 +08:00
guozhanxin d343c6578a [kernel]Change 'rt_timer_timeout_hook' function to 'rt_timer_enter_hook' and add 'rt_timer_exit_hook' hook function. 2018-11-13 11:32:15 +08:00
Bernard Xiong e108dfe4a5 [libc] Fix the _EXFUN issue in newlib 2018-11-10 16:58:07 +08:00