Skip to content
Commit 965d3053 authored by Wilfried Chauveau's avatar Wilfried Chauveau Committed by Carles Cufí
Browse files

arch: arm: cortex_m: fault: Improve handling of fault escalation on armv6-m



The current implementation causes a lockup of the core when the exception
originates from an invalid/unreachable pc. This fix first verifies on
armv6-m and armv8-m.base that pc was in an expected runnable region,
namely:

- .text
- .ramfunc
- .itcm

Signed-off-by: default avatarWilfried Chauveau <wilfried.chauveau@arm.com>
parent f2ba0b7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment