zephyr/arch/arc/include
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
..
v2 c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
nano_private.h arc: implement stack checking 2016-03-29 01:25:49 +00:00
vector_table.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00