Lines Matching +full:divide +full:- +full:10

4  * SPDX-License-Identifier: Apache-2.0
38 alt_stack + (STACKSIZE - OVERFLOW_STACKSIZE);
51 static ZTEST_DMEM volatile int expected_reason = -1;
55 TC_PRINT("Caught system error -- reason %d\n", reason); in k_sys_fatal_error_handler()
57 if (expected_reason == -1) { in k_sys_fatal_error_handler()
76 expected_reason = -1; in k_sys_fatal_error_handler()
127 /* used to create a divide by zero error on X86 and MIPS */ in entry_cpu_exception_extend()
174 expected_reason = -2; in entry_arbitrary_reason_negative()
176 z_except_reason(-2); in entry_arbitrary_reason_negative()
197 #pragma GCC diagnostic ignored "-Wpragmas"
198 #pragma GCC diagnostic ignored "-Winfinite-recursion"
313 * Main thread(test_main) priority was 10 but ztest thread runs at in ZTEST()
314 * priority -1. To run the test smoothly make both main and ztest in ZTEST()
328 TC_PRINT("test alt thread 1: generic CPU exception divide zero\n"); in ZTEST()
394 TC_PRINT("test stack sentinel overflow - timer irq\n"); in ZTEST()
397 TC_PRINT("test stack sentinel overflow - swap\n"); in ZTEST()
403 * Do this twice to show that HW-based solutions work more than in ZTEST()
407 TC_PRINT("test stack HW-based overflow - supervisor 1\n"); in ZTEST()
410 TC_PRINT("test stack HW-based overflow - supervisor 2\n"); in ZTEST()
414 TC_PRINT("test stack HW-based overflow (FPU thread) - supervisor 1\n"); in ZTEST()
417 TC_PRINT("test stack HW-based overflow (FPU thread) - supervisor 2\n"); in ZTEST()
423 TC_PRINT("test stack HW-based overflow - user 1\n"); in ZTEST()
426 TC_PRINT("test stack HW-based overflow - user 2\n"); in ZTEST()
429 TC_PRINT("test stack HW-based overflow - user priv stack 1\n"); in ZTEST()
432 TC_PRINT("test stack HW-based overflow - user priv stack 2\n"); in ZTEST()
436 TC_PRINT("test stack HW-based overflow (FPU thread) - user 1\n"); in ZTEST()
439 TC_PRINT("test stack HW-based overflow (FPU thread) - user 2\n"); in ZTEST()