summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2017-12-13 17:59:25 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-12-13 17:59:25 +0000
commit681f9a89d201d7891e2c60dff5e5415d8f618518 (patch)
tree34a3e50d03b4d999f09f07dbcafbe3054d4fe8f5 /hw/core/qdev-properties-system.c
parent3f551b5b7380ff131fe22944aa6f5b166aa13caf (diff)
downloadfocaccia-qemu-681f9a89d201d7891e2c60dff5e5415d8f618518.tar.gz
focaccia-qemu-681f9a89d201d7891e2c60dff5e5415d8f618518.zip
target/arm: Use ARMMMUFaultInfo in deliver_fault()
Now that ARMMMUFaultInfo is guaranteed to have enough information
to construct a fault status code, we can pass it in to the
deliver_fault() function and let it generate the correct type
of FSR for the destination, rather than relying on the value
provided by get_phys_addr().

I don't think there are any cases the old code was getting
wrong, but this is more obviously correct.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Stefano Stabellini <sstabellini@kernel.org>
Message-id: 1512503192-2239-10-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions