Commit Graph

286 Commits

Author SHA1 Message Date
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
armink 29dd96ec35 [rtdbg] Add ulog compatible with rtdbg. 2018-10-31 10:57:52 +08:00
Bernard Xiong 484afe9d2c [Kernel] Add 64bit CPU support. 2018-10-26 06:35:42 +08:00
Bernard Xiong d23a65d54e Merge branch 'master' into dev-4.0.x 2018-10-25 21:42:47 +08:00
Bernard Xiong 20bc91d25f [license] Change license to Apache. 2018-10-14 19:38:52 +08:00
Bernard Xiong 4660882320
[Kernel] Change number to v4.0.0 2018-10-13 09:36:23 +08:00
Bernard Xiong b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +08:00
Bernard Xiong 41f7f2c284 [Kernel] Update to Apache License v2.0
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
armink a969b7096f [slist] Add rt_slist_tail and rt_slist_tail_entry for slist. 2018-09-11 20:06:40 +08:00
armink aa8ff55bbb [rtdbg] Change all level sequence. The most urgent log level (error) using 0. 2018-09-11 18:26:28 +08:00
armink 3dea90eaf9 [rtdbg] Optimize footprint for rtdbg log. 2018-09-06 09:50:18 +08:00
Bernard Xiong 95c36f32e2
Update rtdef.h 2018-09-04 07:01:39 +08:00
Bernard Xiong ab1a220eae [components] Remove lwP from v3.1.0 2018-09-01 12:03:32 +08:00
Bernard Xiong 07ec7e686d
Merge pull request #1754 from liangyongxiang/rt-used
add RT_USED to component init and finsh shell
2018-08-31 18:41:44 +08:00
liang yongxiang 0aa03dd731 [kernel] add RT_USED to INIT_EXPORT, so that the initialization function is not deleted when it is linked. 2018-08-31 15:01:04 +08:00
Bernard Xiong efe4523132 [Kernel] move module tolibc/libdl. 2018-08-30 20:27:45 +08:00
heyuanjie 2373a9c7be 添加lwp类型声明 2018-07-31 10:38:26 +08:00
heyuanjie c79fbd373f [lwp]给thread添加lwp成员 2018-07-30 11:12:12 +08:00
chenyong a862619490 [net][sal] Remove SAL_USING_POSIX dependence for lwIP stack. 2018-07-26 11:57:20 +08:00
armink 81a0782568 [rtdbg] Update default section name to "DBG". 2018-07-19 18:04:02 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00
Bernard Xiong 6964d623aa [Kernel] Add strdup for armcc 2018-07-15 16:03:40 +08:00
Bernard Xiong b0dbdf4289
Merge pull request #1621 from armink/fix_idle_hook
[idle] Add idle hook list.
2018-07-14 15:20:59 +08:00
Bernard Xiong 1758f5773e
Merge pull request #1617 from armink/fix_rtdbg
Fix rtdbg
2018-07-14 06:46:50 +08:00
armink e9c165034e [kernel][idle] Add idle hook list. 2018-07-13 10:02:27 +08:00
Bernard Xiong 44712ba2cf
Merge pull request #1611 from TanekLiang/add-more-assert
add more assert for object check
2018-07-11 21:38:31 +08:00
Lynx Zhou 754b363839
Add list iterators over list elements
Address the comments from armink@rt-thread
2018-07-11 17:14:44 +08:00
liang yongxiang 7b984c2f54 [kernel] add rt_object_get_type() function who return type of object without static flag 2018-07-11 14:48:32 +08:00
armink 541925195f [rtdbg] Update dbg log header format. 2018-07-11 10:17:34 +08:00
armink 9ec76e302d [rtdbg] Add LOG_RAW and dbg_raw API to rtdbg.h . 2018-07-11 10:15:46 +08:00
Lynx Zhou 3b9dfc6aed
Add list iterators over list elements
Some non-gnu toolchains don't support gnu C extended keyword "typeof", like MDK (if no "gnu" option) and IAR, in this case we can provide list element manipulation macro functions to iterate over the list.
2018-07-04 15:50:31 +08:00
Bernard Xiong f0f883668c
Merge pull request #1579 from RT-Thread/fix_waitqueue
Fix waitqueue issue
2018-06-29 13:19:16 +08:00
Bernard Xiong 497a2dd02c
[Kernel] Remove the restriction of waitqueue
Remove the restriction of RT_USING_POSIX for waitqueue structure.
2018-06-29 12:18:37 +08:00
armink aa12d66b30 [rtservice] Add `rt_slist_first` and `rt_slist_next` API to slist. 2018-06-27 13:05:50 +08:00
Bernard Xiong ef132f3c94 [Kernel] clean code for indentation. 2018-06-26 11:57:20 +08:00
Bernard Xiong a1a56ce1d1 [Kernel] Add flag in wait queue and fix wakeup issue. 2018-06-26 11:19:38 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
Bernard Xiong 44cffcf9ac
Update rtdef.h 2018-05-31 18:05:43 +08:00
armink 72316a6e6d [rtdbg] Update some comments on rtdbg.h. 2018-05-28 09:29:49 +08:00