OSDN Git Service

target/arm: Get PRECISERR and IBUSERR the right way round
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:17 +0000 (18:43 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 14 Sep 2017 17:43:17 +0000 (18:43 +0100)
commitc6158878650c01b2c753b2ea7d0967c8fe5ca59e
tree075aa99de925b3bb67b79eb33f5bcc0af368e324
parentdc3c4c14f0f12854dbd967be3486f4db4e66d25b
target/arm: Get PRECISERR and IBUSERR the right way round

For a bus fault, the M profile BFSR bit PRECISERR means a bus
fault on a data access, and IBUSERR means a bus fault on an
instruction access. We had these the wrong way around; fix this.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 1505137930-13255-4-git-send-email-peter.maydell@linaro.org
target/arm/helper.c