Skip to content
Commit 202c2fde authored by Ioannis Glaropoulos's avatar Ioannis Glaropoulos Committed by Carles Cufí
Browse files

arch: arm: cortex_m: do not read MMFAR if MMARVALID is not set



When the MMARVALID bit is not set, do not read the MMFAR
register to get the fault address in a MemManage fault.
This change prevents the fault handler to erroneously
assume MMFAR contains a valid address.

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