zephyr/kernel/microkernel
Peter Mitsis b58878bb89 kernel: Init back pointer to microkernel task
Fibers initialize this back pointer to NULL as they are (by definition)
not microkernel tasks.  Microkernel tasks initialize it to their
corresponding 'ktask_t'.

However for nanokernel systems, the back pointer is always NULL. This
is because there is only one task in a nanokernel system (the background
task) and it can not pend on a nanokernel object--it must poll.

Change-Id: I9840fecc44224bef63d09d587d703720cf33ad57
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-05-04 22:51:33 +00:00
..
include microkernel: Add TF_NANO wait flag reason 2016-05-04 22:51:32 +00:00
k_command_packet.c kernel: Eliminate the need for command packet sets 2016-02-05 20:24:42 -05:00
k_event.c microkernel: Match alignment with open parenthesis 2016-04-26 11:10:37 +00:00
k_fifo.c fifo: Simplify task_fifo_get() API family 2016-02-05 20:25:06 -05:00
k_idle.c power_mgmt: Make names consistent with new RFC 2016-03-26 14:35:11 -04:00
k_init.c build: Add C++ support 2016-02-05 20:25:23 -05:00
k_irq.c microkernel: remove task_irq_free() API 2016-02-05 20:25:21 -05:00
k_mailbox.c mem_pool: Simplify task_mem_pool_alloc() API family 2016-02-05 20:25:05 -05:00
k_memory_map.c mem_map: Simplify task_mem_map_alloc() API family 2016-02-05 20:25:05 -05:00
k_memory_pool.c memory_pool: Refactor code into a helper function 2016-03-10 23:19:59 +00:00
k_move_data.c checkpatch: warning - block_comment_style 2016-02-05 20:24:33 -05:00
k_mutex.c mutex: Simplify task_mutex_lock() API family 2016-02-05 20:25:05 -05:00
k_nop.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
k_offload.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
k_pipe_buffer.c pipe, cosmetic: Put constant in comparisons on the right 2016-02-05 20:25:05 -05:00
k_pipe_get.c pipe, cosmetic: Put constant in comparisons on the right 2016-02-05 20:25:05 -05:00
k_pipe_put.c pipe, cosmetic: Put constant in comparisons on the right 2016-02-05 20:25:05 -05:00
k_pipe_util.c pipe, cosmetic: Put constant in comparisons on the right 2016-02-05 20:25:05 -05:00
k_pipe_xfer.c pipe, cosmetic: Put constant in comparisons on the right 2016-02-05 20:25:05 -05:00
k_pipe.c pipes: Simplify task_pipe_get() API family 2016-02-05 20:25:05 -05:00
k_semaphore.c semgroup: Simplify task_sem_group_take() API family 2016-02-05 20:25:05 -05:00
k_server.c microkernel: use _thread_essential_set() 2016-05-03 17:42:54 +00:00
k_task_monitor.c logger: include task monitor in kernel event logger 2016-02-09 13:53:41 -05:00
k_task.c kernel: Init back pointer to microkernel task 2016-05-04 22:51:33 +00:00
k_ticker.c microkernel: Add support for *_sleep() during initialization 2016-03-26 10:17:15 +00:00
k_timer.c kernel: Make idle task sleep 2016-04-08 15:08:33 +00:00
Kconfig kconfig: untangle ordering and dependencies 2016-03-26 20:36:32 -04:00
Makefile Rename microkernel's global.c to k_init.c 2016-02-05 20:14:25 -05:00