zephyr/kernel/include
Andrew Boie ae1a75b82e stack_sentinel: change cooperative check
One of the stack sentinel policies was to check the sentinel
any time a cooperative context switch is done (i.e, _Swap is
called).

This was done by adding a hook to _check_stack_sentinel in
every arch's __swap function.

This way is cleaner as we just have the hook in one inline
function rather than implemented in several different assembly
dialects.

The check upon interrupt is now made unconditionally rather
than checking if we are calling __swap, since the check now
is only called on cooperative _Swap(). The interrupt is always
serviced first.

Issue: ZEP-2244
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-06-08 13:49:36 -05:00
..
gen_offset.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
kernel_offsets.h kernel: publish offsets to thread stack info 2017-05-13 15:14:41 -04:00
kernel_structs.h debug: add stack sentinel feature 2017-05-13 15:14:41 -04:00
ksched.h stack_sentinel: change cooperative check 2017-06-08 13:49:36 -05:00
nano_internal.h stack_sentinel: change cooperative check 2017-06-08 13:49:36 -05:00
offsets_short.h kernel/arch: streamline thread user options 2017-01-24 13:34:50 +00:00
timeout_q.h kernel: tickless: Add tickless kernel support 2017-04-27 13:46:28 +00:00
wait_q.h Convert remaining code to using newly introduced integer sized types 2017-04-21 11:38:23 -05:00