unicorn/qemu/target
Peter Maydell 7d2ca16d7f
target/sparc: Handle bus errors in mmu_probe()
Convert the mmu_probe() function to using address_space_ldl()
rather than ldl_phys(), so we can explicitly detect memory
transaction failures.

This makes no practical difference at the moment, because
ldl_phys() will return 0 on a transaction failure, and we
treat transaction failures and 0 PDEs identically. However
the spec says that MMU probe operations are supposed to
update the fault status registers, and if we ever implement
that we'll want to distinguish the difference. For the
moment, just add a TODO comment about the bug.

Backports commit d86a9ad33c75ed795f09fb43243d0acecd583f24 from qemu
2019-11-28 02:56:32 -05:00
..
arm target/arm: Inline gen_bx_im into callers 2019-11-28 02:54:09 -05:00
i386 x86: Intel AVX512_BF16 feature enabling 2019-11-18 22:06:57 -05:00
m68k target/m68k: replace LIT64 with UINT64_C macros 2019-11-18 21:05:59 -05:00
mips target/mips: Switch to do_transaction_failed() hook 2019-11-28 02:54:53 -05:00
riscv target/riscv: Remove redundant declaration pragmas 2019-11-18 21:22:09 -05:00
sparc target/sparc: Handle bus errors in mmu_probe() 2019-11-28 02:56:32 -05:00