zephyr/kernel/microkernel
Dmitriy Korovkin 661d2f3a16 microkernel: Add support for *_sleep() during initialization
Add support for task_sleep() and fiber_sleep() during the
system initialization. When CONFIG_NANO_TIMEOUTS defined,
before the k_server() starts, kernel uses nanokernel
system clock announce and task sleep functionality.

To give device drivers early sleep functionality, the system
clock has to start on SECONDARY initialization level, same
as most of the drivers.

Change-Id: Ie1d391945cd1cfb9a5dc199783c2d224eb1b0ef3
Signed-off-by: Dmitriy Korovkin <dmitriy.korovkin@windriver.com>
2016-03-26 10:17:15 +00:00
..
include debug: fixes issue on debug tracing for pool struct 2016-03-14 22:17:10 +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 events: Simplify task_event_recv() API family 2016-02-05 20:25:05 -05:00
k_fifo.c fifo: Simplify task_fifo_get() API family 2016-02-05 20:25:06 -05:00
k_idle.c adv_power:Advanced Power Management APIs 2016-02-12 11:20:32 -08: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 nano_stack: Simplify nano_xxx_stack_pop() API family 2016-02-05 20:25:14 -05:00
k_task_monitor.c logger: include task monitor in kernel event logger 2016-02-09 13:53:41 -05:00
k_task.c debug: add debug tracing support for task initialization 2016-03-11 22:13:30 +00:00
k_ticker.c microkernel: Add support for *_sleep() during initialization 2016-03-26 10:17:15 +00:00
k_timer.c microkernel: Add support for *_sleep() during initialization 2016-03-26 10:17:15 +00:00
Kconfig debug: expose thread monitor in object tracing header 2016-03-11 22:07:16 +00:00
Makefile Rename microkernel's global.c to k_init.c 2016-02-05 20:14:25 -05:00