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 Rename __defaultEsf to _default_esf 2016-02-05 20:13:54 -05:00
ctors.c Eliminate kernel/common/bsp sub-directory 2016-02-05 20:13:51 -05:00
device.c device: Add device model infrastructure 2016-02-05 20:14:14 -05:00
idle.c nanokernel/idle: fix file description 2016-02-05 20:13:59 -05:00
int_latency_bench.c Eliminate nanokernel/core sub-directory 2016-02-05 20:13:51 -05:00
Kconfig Kconfig: remove extra line from nano kconfig 2016-02-05 20:14:11 -05:00
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 Fix whitespace issues 2016-02-05 20:13:59 -05:00
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 objects: standardize on if(ptr), not if(ptr != NULL) 2016-02-05 20:13:53 -05:00
nano_stack.c Eliminate _Cput and _Cpsh APIs 2016-02-05 20:13:59 -05:00
nano_sys_clock.c Rework constructor macros 2016-02-05 20:14:00 -05:00
nano_timer.c nano_lifo: allow multiple fibers to pend 2016-02-05 20:13:53 -05:00
nanometrics.c Eliminate nanokernel/core sub-directory 2016-02-05 20:13:51 -05:00
version.c Add "sys_" prefix to public kernel versioning APIs 2016-02-05 20:14:13 -05:00