TencentOS-tiny/kernel/core/include
daishengdong 96cf620708 a bugfix for mail queue and printf clipping switch
1. add TOS_CFG_LIBC_PRINTF_EN
1: enable printf to implement tos_kprintf
when you call tos_kprintf(actually currently it's a MACRO rather than a function) , the libc will be invloved into the image, most of the time it means a larger image size.

0: disable printf, means tos_kprintf is defined as an empty MACRO
most of the time, means you will not get a log output from the uart(currently we donnot have a console yet) but a smaller image size.

2. fix a bug of tos_mail_q and tos_priority_mail_q
if we are post-ing a mail and there is[are] task[s] just pend-ing for the mail queue, the mail delivered to the pend-er will be a pointer, and probably it's a pointer to the local variable on the stack. Actually we should do a memcpy rather than a pointer assignment. for more details, see the patch.
2019-11-25 21:04:37 +08:00
..
tos.h a bugfix for mail queue and printf clipping switch 2019-11-25 21:04:37 +08:00
tos_binary_heap.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_char_fifo.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_compiler.h TencentOS tiny port to MSP430FR6972 2019-11-18 19:43:41 +08:00
tos_completion.h refresh 开发指南.pdf 2019-11-14 19:27:36 +08:00
tos_config_check.h add ring queue/message queue/mail queue, binary heap/priority queue/priority message queue/priority mail queue 2019-10-28 15:50:46 +08:00
tos_config_default.h a bugfix for mail queue and printf clipping switch 2019-11-25 21:04:37 +08:00
tos_countdownlatch.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_err.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_event.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_global.h add ring queue/message queue/mail queue, binary heap/priority queue/priority message queue/priority mail queue 2019-10-28 15:50:46 +08:00
tos_klib.h a bugfix for mail queue and printf clipping switch 2019-11-25 21:04:37 +08:00
tos_ktypes.h fix compile warning 2019-10-31 15:08:13 +08:00
tos_list.h add license for kernel 2019-10-09 13:15:53 +08:00
tos_mail_queue.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_message_queue.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_mmblk.h add license for kernel 2019-10-09 13:15:53 +08:00
tos_mmheap.h add tos_mmheap_check & tos_mmheap_pool_check API and TOS_CFG_MMHEAP_DEFAULT_POOL_EN switch 2019-10-14 22:09:57 +08:00
tos_mutex.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_pend.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_priority_mail_queue.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_priority_message_queue.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_priority_queue.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_ring_queue.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_robin.h add license for kernel 2019-10-09 13:15:53 +08:00
tos_sched.h TencentOS tiny port to MSP430FR6972 2019-11-18 19:43:41 +08:00
tos_sem.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_sys.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00
tos_task.h a bugfix for mail queue and printf clipping switch 2019-11-25 21:04:37 +08:00
tos_tick.h a bugfix for mail queue and printf clipping switch 2019-11-25 21:04:37 +08:00
tos_time.h add license for kernel 2019-10-09 13:15:53 +08:00
tos_timer.h add a set of dyn(create / destroy) interface 2019-10-29 16:57:43 +08:00