zephyr/arch/arc/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 First commit 2015-04-10 16:44:37 -07:00
atomic.s First commit 2015-04-10 16:44:37 -07:00
context.c Optimizations to _NewContext() and _NewContextInternal() 2016-02-05 20:14:13 -05:00
context_wrapper.s Renaming _ContextEntryRtn to _context_entry 2016-02-05 19:45:35 -05:00
cpu_idle.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
fast_irq.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
fatal.c Add _NANO_ERR_ALLOCATION_FAIL fatal error code 2016-02-05 20:14:13 -05:00
fault.c Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
fault_s.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
ffs.s First commit 2015-04-10 16:44:37 -07:00
irq_lock.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
irq_manage.c Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
isr_wrapper.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
regular_irq.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
swap.s Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00
swap_macros.h Renaming include/nanokernel to include/arch 2016-02-05 20:14:12 -05:00