zephyr/arch/arc/core
Alexandre d'Alton f91e55b798 arc: implement stack checking
ARC CPU has stack checking feature that allows to trigger an exception
whenever the stack is incorrectly accessed.
This patch implements the stack_top and stack_base register updates on
context switches, and activates the Stack Checking bit of STATUS32
register when the CPU is in the context of a fiber or task.
As GCC accesses the non-yet allocated stack with frame pointer enabled,
this patch also add the omit-frame-pointer gcc flag in order to work
properly.

Change-Id: Ia9e224085a03bd29d682fb8f51f8e712f2ccb556
Signed-off-by: Alexandre d'Alton <alexandre.dalton@intel.com>
2016-03-29 01:25:49 +00:00
..
offsets arc: implement stack checking 2016-03-29 01:25:49 +00:00
atomic.S arc: add atomic operations for ARC EM family processors 2016-02-05 20:25:16 -05:00
atomic_native.c arch/arc: fixes native C version of atomic_nand 2016-02-05 20:25:28 -05:00
cpu_idle.S arc: add nanokernel tickless idle support 2016-02-05 20:25:13 -05:00
errno.S kernel: add per-thread errno support 2016-02-05 20:24:58 -05:00
fast_irq.S arc: implement stack checking 2016-03-29 01:25:49 +00:00
fatal.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
fault.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
fault_s.S Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
irq_manage.c irq: formalize external zephyr interrupt API 2016-02-26 15:53:22 +00:00
irq_offload.c irq_offload: ARC implementation 2016-02-05 20:24:55 -05:00
irq_vector_table.c arc: move vector and sw isr table to core code 2016-03-08 09:58:20 -08:00
isr_wrapper.S arc: add nanokernel tickless idle support 2016-02-05 20:25:13 -05:00
Makefile arc: remove CONFIG_SW_ISR_TABLE_BSP 2016-03-08 09:58:20 -08:00
prep_c.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
regular_irq.S arc: implement stack checking 2016-03-29 01:25:49 +00:00
reset.S Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
sw_isr_table.S arc: move vector and sw isr table to core code 2016-03-08 09:58:20 -08:00
swap.S arc: implement stack checking 2016-03-29 01:25:49 +00:00
swap_macros.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
sys_fatal_error_handler.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
thread.c arc: implement stack checking 2016-03-29 01:25:49 +00:00
thread_entry_wrapper.S Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
vector_table.c arc: fix alignment of IRQ vector table 2016-02-05 20:25:13 -05:00