zephyr/tests/kernel/fatal
Andy Ross 9c62cc677d kernel: Add kswap.h header to unbreak cycles
The xtensa-asm2 work included a patch that added nano_internal.h
includes in lots of places that needed to have _Swap defined, because
it had to break a cycle and this no longer got pulled in from the arch
headers.

Unfortunately those new includes created new and more amusing cycles
elsewhere which led to breakage on other platforms.

Break out the _Swap definition (only) into a separate header and use
that instead.  Cleaner.  Seems not to have any more hidden gotchas.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-02-16 10:44:29 -05:00
..
src kernel: Add kswap.h header to unbreak cycles 2018-02-16 10:44:29 -05:00
CMakeLists.txt Introduce cmake-based rewrite of KBuild 2017-11-08 20:00:22 -05:00
README
prj.conf tests: fatal: convert legacy test to ztest 2017-11-13 16:35:27 -05:00
sentinel.conf tests: fatal: convert legacy test to ztest 2017-11-13 16:35:27 -05:00
testcase.yaml tests/samples: fixed yaml syntax 2017-12-11 14:47:08 -05:00

README

This test case verifies that kernel fatal error handling works correctly.

If a thread causes a CPU exception, and it is not in an ISR or "essential"
thread, the thread gets aborted and the rest of the system executes normally.