zephyr/arch/x86/core
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
..
offsets Creation of Makefiles for arch directory. 2016-02-05 20:14:04 -05:00
Kconfig Kconfig: Fix to floating point blank page. 2016-02-05 20:14:10 -05:00
Makefile Creation of Makefiles for arch directory. 2016-02-05 20:14:04 -05:00
cpuhalt.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
excconnect.c Correct file locations referenced in comments 2016-02-05 20:14:00 -05:00
excstub.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
ffs.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
gdt.c Replace __attribute__((aligned(x))) with __aligned(x) 2016-02-05 20:14:13 -05:00
intboiexit.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
intconnect.c Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
inthndlset.c Fix coding style issues. 2016-02-05 20:13:59 -05:00
intstub.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
msr.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
nanoatomic.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
nanoatomic_nolock.c Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
nanocontext.c Optimizations to _NewContext() and _NewContextInternal() 2016-02-05 20:14:13 -05:00
nanofatal.c Add _NANO_ERR_ALLOCATION_FAIL fatal error code 2016-02-05 20:14:13 -05:00
nanofloat.c Rename missed instances of nanoFiberStart() 2016-02-05 20:14:13 -05:00
swap.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
unaligned.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00