zephyr/tests
Andrew Boie 80e82e7205 x86: stack overflow improvements
As luck would have it, the TSS for the main IA task has
all the information we need, populate an exception stack
frame with it.

The double-fault handler just stashes data and makes the main
hardware thread runnable again, and processing of the
exception continues from there.

We check the first byte before the faulting ESP value to see
if the stack pointer had run up to a non-present page, a sign
that this is a stack overflow and not a double fault for
some other reason.

Stack overflows in kernel mode are now recoverable for non-
essential threads, with the caveat that we hope we weren't in
a critical section updating kernel data structures when it
happened.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2017-08-03 11:46:26 -04:00
..
benchmarks build: remove unused Kconfig variables 2017-08-03 07:19:29 -05:00
bluetooth build: workaround build bug in tests 2017-07-27 14:09:40 -04:00
booting/stub
compliance
crypto tests: crypto: Update ECC Diffie-Hellman and DSA tests 2017-08-01 10:35:06 -04:00
drivers tests: disable building of FXOS8700 sensor for all boards 2017-07-28 09:40:38 -05:00
include tests: crypto: Update ECC Diffie-Hellman and DSA tests 2017-08-01 10:35:06 -04:00
kernel x86: stack overflow improvements 2017-08-03 11:46:26 -04:00
lib/json tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
net tests: mqtt: Add a mqtt tls test case 2017-07-28 11:25:43 +03:00
power tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
shell tests: shell: Filter on UART_CONSOLE support to enable more boards 2017-06-29 07:07:31 -04:00
subsys tests: Remove camel case and fix coding style 2017-06-29 07:00:50 -04:00
unit tests: remove testcase.ini files 2017-06-21 20:56:53 -04:00
ztest tests/ztest: Add ztest_test_pass() 2017-06-21 21:52:50 -04:00
Kconfig
Makefile
Makefile.test