zephyr/kernel/nanokernel
Peter Mitsis 40b5200c73 Optimizations to _NewContext() and _NewContextInternal()
Since the address of the new context is known before _NewContext() is invoked
(due to it being passed a properly aligned stack), there is no longer any
need for _NewContext to return the pointer to the context.

Furthermore, as a direct result of the properly aligned stack, the pointer to
the new context does not need to be passed as a separate parameter since it
will always match the passed stack pointer.

Change-Id: Ie57a9c4ad17f6f13e8b3f659cd701d4f8950ea97
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:14:13 -05:00
..
include Eliminate separate include files for generating absolute symbols 2016-02-05 20:14:13 -05:00
Kconfig Kconfig: remove extra line from nano kconfig 2016-02-05 20:14:11 -05:00
Makefile Eliminate secure string library routines 2016-02-05 20:14:12 -05:00
compiler_stack_protect.c Rename __defaultEsf to _default_esf 2016-02-05 20:13:54 -05:00
ctors.c
idle.c nanokernel/idle: fix file description 2016-02-05 20:13:59 -05:00
int_latency_bench.c
nano_context.c Clean up private APIs that mark context as (non)essential 2016-02-05 20:14:13 -05:00
nano_fiber.c Optimizations to _NewContext() and _NewContextInternal() 2016-02-05 20:14:13 -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
version.c Add "sys_" prefix to public kernel versioning APIs 2016-02-05 20:14:13 -05:00