qemu-e2k/target
Peter Maydell adcf0bf017 target/m68k: In get_physical_address() check for memory access failures
In get_physical_address(), use address_space_ldl() and
address_space_stl() instead of ldl_phys() and stl_phys().
This allows us to check whether the memory access failed.
For the moment, we simply return -1 in this case;
add a TODO comment that we should ideally generate the
appropriate kind of fault.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20181210165636.28366-3-peter.maydell@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-05-16 21:40:45 +02:00
..
alpha tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
arm target/arm: Use tcg_gen_abs_i64 and tcg_gen_gvec_abs 2019-05-13 22:52:08 +00:00
cris target/cris: Use tcg_gen_abs_tl 2019-05-13 22:52:08 +00:00
hppa decodetree: Add DisasContext argument to !function expanders 2019-05-06 11:18:34 -07:00
i386 Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
lm32 tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
m68k target/m68k: In get_physical_address() check for memory access failures 2019-05-16 21:40:45 +02:00
microblaze tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
mips tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
moxie tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
nios2 Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
openrisc target/openrisc: Fix LGPL information in the file headers 2019-05-08 17:45:54 +02:00
ppc target/ppc: Use tcg_gen_abs_tl 2019-05-13 22:52:08 +00:00
riscv Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
s390x target/s390x: Use tcg_gen_abs_i64 2019-05-13 22:52:08 +00:00
sh4 target/sh4: Fix LGPL information in the file headers 2019-05-08 17:45:54 +02:00
sparc Clean up ill-advised or unusual header guards 2019-05-13 08:58:55 +02:00
tilegx tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
tricore target/tricore: Use tcg_gen_abs_tl 2019-05-13 22:52:08 +00:00
unicore32 tcg: Hoist max_insns computation to tb_gen_code 2019-04-24 13:04:33 -07:00
xtensa target/xtensa: Use tcg_gen_abs_i32 2019-05-13 22:52:08 +00:00