]> Git Repo - qemu.git/commit
armv7m: Classify faults as MemManage or BusFault
authorMichael Davidsaver <[email protected]>
Fri, 2 Jun 2017 10:51:48 +0000 (11:51 +0100)
committerPeter Maydell <[email protected]>
Fri, 2 Jun 2017 10:51:48 +0000 (11:51 +0100)
commit5dd0641d234e355597be62e5279d8a519c831625
tree9625608046d48707817e6366e71afff133921555
parent790a11503cfb5e1dcd031ea2212bbebae4ca3cec
armv7m: Classify faults as MemManage or BusFault

General logic is that operations stopped by the MPU are MemManage,
and those which go through the MPU and are caught by the unassigned
handle are BusFault. Distinguish these by looking at the
exception.fsr values, and set the CFSR bits and (if appropriate)
fill in the BFAR or MMFAR with the exception address.

Signed-off-by: Michael Davidsaver <[email protected]>
Message-id: 1493122030[email protected]
[PMM: i-side faults do not set BFAR/MMFAR, only d-side;
 added some CPU_LOG_INT logging]
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
target/arm/helper.c
This page took 0.025787 seconds and 4 git commands to generate.