target/arm: Split compute_fsr_fsc out of arm_deliver_fault
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 3 Nov 2021 04:03:48 +0000 (00:03 -0400)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 15 Dec 2021 10:35:26 +0000 (10:35 +0000)
commit936a6b86030a0db172b09a1ea953091a1555611e
tree6541bb6254df05712ad9e72e8f23a9ba5caa5ed8
parent485088f7425ec7f99d3f21cafb028aa92639618d
target/arm: Split compute_fsr_fsc out of arm_deliver_fault

We will reuse this section of arm_deliver_fault for
raising pc alignment faults.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tlb_helper.c