zephyr/kernel/nanokernel
Allan Stephens ddaebc15b3 kernel: Eliminate use of main() in microkernel
Revises microkernel initialization code by incorporating the existing
_k_kernel_init() and main() routines into _main(). This optimizes kernel
initialization a bit, and allows application code to use main()
if desired -- for example, as the entry point to an application task.
The change also eliminates the need for sysgen to generate a routine
whose content is always the same.

This change preserves the existing order of operations done during
kernel initialization, and leaves further improvements for later.

Change-Id: Ie03d8a6f38f8a311f398667ed977fd8478719d70
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
2016-02-05 20:24:21 -05:00
..
include clarify use of term 'context' 2016-02-05 20:15:27 -05:00
Kconfig kernel: kconfig: remove dependencies on EXPERIMENTAL 2016-02-05 20:24:20 -05:00
Makefile nanokernel: add optional ring buffer data type 2016-02-05 20:15:34 -05:00
compiler_stack_protect.c doxygen: add @brief and capitalize 2016-02-05 20:14:33 -05:00
ctors.c Update comments in ctors.c 2016-02-05 20:14:39 -05:00
device.c doxygen: change comment style to match javadoc 2016-02-05 20:14:33 -05:00
event_logger.c profiler: use new ring buffer data structure 2016-02-05 20:15:34 -05:00
idle.c doxygen: add @brief and capitalize 2016-02-05 20:14:33 -05:00
int_latency_bench.c sys_clock: rename timer_read to _sys_clock_cycle_get 2016-02-05 20:15:27 -05:00
nano_context.c nano_context: allow _thread_exit() to be called from a task 2016-02-05 20:15:36 -05:00
nano_fiber.c fiber: remove fiber from thread list when cancelling delayed start 2016-02-05 20:15:36 -05:00
nano_fifo.c clarify use of term 'context' 2016-02-05 20:15:27 -05:00
nano_init.c kernel: Eliminate use of main() in microkernel 2016-02-05 20:24:21 -05:00
nano_lifo.c clarify use of term 'context' 2016-02-05 20:15:27 -05:00
nano_sema.c clarify use of term 'context' 2016-02-05 20:15:27 -05:00
nano_stack.c doxygen: nanokernel doxygenation 2016-02-05 20:15:34 -05:00
nano_sys_clock.c doxygen: nanokernel doxygenation 2016-02-05 20:15:34 -05:00
nano_timer.c doxygen: nanokernel doxygenation 2016-02-05 20:15:34 -05:00
profiler.c profiler: use new ring buffer data structure 2016-02-05 20:15:34 -05:00
ring_buffer.c nanokernel: add optional ring buffer data type 2016-02-05 20:15:34 -05:00
version.c typo: decribed -> described 2016-02-05 20:15:34 -05:00