OSDN Git Service

target/microblaze: Switch to transaction_failed hook
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 10 Dec 2018 17:56:30 +0000 (17:56 +0000)
committerEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tue, 22 Jan 2019 10:10:12 +0000 (02:10 -0800)
commitbdff8123f22057788531717060835684fe9d0fd4
treed39f1a4a9e12c7897fd07e4a6d5717a93f7e89eb
parente56b86bc7735dd076939fa33a76e1ee9d5907e47
target/microblaze: Switch to transaction_failed hook

Switch the microblaze target from the old unassigned_access hook
to the transaction_failed hook.

The notable difference is that rather than it being called
for all physical memory accesses which fail (including
those made by DMA devices or by the gdbstub), it is only
called for those made by the CPU via its MMU. For
microblaze this makes no difference because none of the
target CPU code needs to make loads or stores by physical
address.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
[EI: Add space in qemu_log()]
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target/microblaze/cpu.c
target/microblaze/cpu.h
target/microblaze/op_helper.c