@@ -142,6 +142,10 @@ void set_regs_with_known_pattern(void *p1, void *p2, void *p3)
142
142
"udf #90\n" );
143
143
}
144
144
145
+ /**
146
+ * @brief Test to verify code fault handling in ISR execution context
147
+ * @ingroup kernel_fatal_tests
148
+ */
145
149
ZTEST (arm_interrupt , test_arm_esf_collection )
146
150
{
147
151
int test_validation_rv ;
@@ -222,6 +226,10 @@ void arm_isr_handler(const void *args)
222
226
}
223
227
}
224
228
229
+ /**
230
+ * @brief Test ARM Interrupt handling
231
+ * @ingroup kernel_arch_interrupt_tests
232
+ */
225
233
ZTEST (arm_interrupt , test_arm_interrupt )
226
234
{
227
235
/* Determine an NVIC IRQ line that is not currently in use. */
@@ -390,6 +398,10 @@ static inline void z_vrfy_test_arm_user_interrupt_syscall(void)
390
398
}
391
399
#include <zephyr/syscalls/test_arm_user_interrupt_syscall_mrsh.c>
392
400
401
+ /**
402
+ * @brief Test ARM Interrupt handling in user mode
403
+ * @ingroup kernel_arch_interrupt_tests
404
+ */
393
405
ZTEST_USER (arm_interrupt , test_arm_user_interrupt )
394
406
{
395
407
/* Test thread executing in user mode */
@@ -434,6 +446,11 @@ ZTEST_USER(arm_interrupt, test_arm_user_interrupt)
434
446
#pragma GCC push_options
435
447
#pragma GCC optimize("O0")
436
448
/* Avoid compiler optimizing null pointer de-referencing. */
449
+
450
+ /**
451
+ * @brief Test ARM Null Pointer Exception handling
452
+ * @ingroup kernel_arch_interrupt_tests
453
+ */
437
454
ZTEST (arm_interrupt , test_arm_null_pointer_exception )
438
455
{
439
456
Z_TEST_SKIP_IFNDEF (CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION );
@@ -454,7 +471,3 @@ ZTEST(arm_interrupt, test_arm_null_pointer_exception)
454
471
zassert_equal (reason , -1 , "expected_reason has not been reset (%d)\n" , reason );
455
472
}
456
473
#pragma GCC pop_options
457
-
458
- /**
459
- * @}
460
- */
0 commit comments