Skip to content
Commit 49fb5d08 authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by Johan Hedberg
Browse files

kernel: fatal: check for esf validity when inspecting nested IRQ



For architectures that support detection of nested interrupts,
we need to check the validity of the exception stack frame,
before we can supply it as a pointer to the function that
evaluates whether we are in a nested interrupt context. This
commits adds the required esf pointer checks in z_fatal_error().

Signed-off-by: default avatarIoannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
parent 0773fd59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment