zephyr/kernel/nanokernel
Peter Mitsis 4fe98a46f5 Initialize stack area in _NewContext()
Instead of initializing the stack (when INIT_STACKS is enabled) in start_task()
and _fiber_start(), do it in _NewContext().  This helps to both reduce code
duplication AND ensure that all contexts get an initialized stack (previously
the background/idle task's was missed).

Change-Id: If2d50309d2be48fac937f5d0ae96b9de185c0fe2
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:14:14 -05:00
..
include Eliminate separate include files for generating absolute symbols 2016-02-05 20:14:13 -05:00
compiler_stack_protect.c
ctors.c
device.c device: Add device model infrastructure 2016-02-05 20:14:14 -05:00
idle.c
int_latency_bench.c
Kconfig
Makefile device: Add device model infrastructure 2016-02-05 20:14:14 -05:00
nano_context.c Clean up private APIs that mark context as (non)essential 2016-02-05 20:14:13 -05:00
nano_fiber.c Initialize stack area in _NewContext() 2016-02-05 20:14:14 -05:00
nano_fifo.c
nano_init.c Optimizations to _NewContext() and _NewContextInternal() 2016-02-05 20:14:13 -05:00
nano_lifo.c Refactor _Cget() to invoke _NanoFatalErrorHandler() 2016-02-05 20:14:13 -05:00
nano_sema.c
nano_stack.c
nano_sys_clock.c
nano_timer.c
nanometrics.c
version.c Add "sys_" prefix to public kernel versioning APIs 2016-02-05 20:14:13 -05:00