zephyr/kernel
Ioannis Glaropoulos df02923944 kernel: fatal: use nested exception info in z_fatal_error
In z_fatal_error() we invoke the arch-specific API that
evaluates whether we are in a nested exception. We then
use the result to log a message that the error occurred
in ISR. In non-test mode, we unconditionally panic, if
an exception has occurred in an ISR and the fatal error
handler has not returned (apart from the case of an
error in stack sentinel check).

Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
2019-10-24 10:12:08 -07:00
..
include kernel: activate arch interface headers 2019-10-21 10:13:38 -07:00
CMakeLists.txt kernel: consolidate error handling code 2019-07-25 15:06:58 -07:00
Kconfig kernel/Kconfig: clamp number of CPUs to 4 2019-10-07 19:46:55 -04:00
Kconfig.power_mgmt power: modify HAS_STATE_SLEEP_ Kconfig options 2019-03-26 13:27:55 -04:00
atomic_c.c kernel: fix the bug in atomic_c.c 2019-09-26 21:13:20 -04:00
compiler_stack_protect.c kernel: Fix gcc-9.2 warning with _StackCheckHandler 2019-10-04 05:22:30 -07:00
device.c [Code coverage]: Fix the issue of function code coverage in device.c. 2019-09-17 12:35:30 +08:00
errno.c userspace: Support for split 64 bit arguments 2019-09-12 11:31:50 +08:00
fatal.c kernel: fatal: use nested exception info in z_fatal_error 2019-10-24 10:12:08 -07:00
futex.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
idle.c kernel: rename boot time globals 2019-09-30 15:25:55 -04:00
init.c logging: abstract log_core_init() 2019-10-01 09:24:02 -04:00
mailbox.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
mem_domain.c userspace: adjust arch memory domain interface 2019-08-05 13:25:50 +02:00
mem_slab.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
mempool.c k_mem_pool_alloc(): remove dead code 2019-10-04 18:43:33 -07:00
msg_q.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
mutex.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
pipes.c kernel/thread: Must always initialize is_idle field 2019-09-26 16:54:06 -04:00
poll.c kernel: Introduce k_work_poll 2019-10-04 17:15:17 +02:00
queue.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
sched.c tracing: simplify idle thread detection 2019-09-30 15:25:55 -04:00
sem.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
smp.c kernel/smp: Rename smp_init() 2019-06-05 17:15:55 -04:00
stack.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
system_work_q.c
thread.c kernel: remove vestigal printk references 2019-10-01 16:15:06 -05:00
thread_abort.c kernel: renamespace z_is_in_isr() 2019-09-30 15:25:55 -04:00
timeout.c kernel/timeout: Fix timeslicing edge case in SMP 2019-09-26 16:54:06 -04:00
timer.c kernel: rename thread return value functions 2019-09-30 15:25:55 -04:00
userspace.c kernel: remove vestigal printk references 2019-10-01 16:15:06 -05:00
userspace_handler.c kernel: remove vestigal printk references 2019-10-01 16:15:06 -05:00
version.c
work_q.c coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00