Re: [Qemu-devel] [RFC 2/3] target/m68k: In get_physical_address() check for memory access failures

2019-05-03 Thread Laurent Vivier
On 10/12/2018 17:56, Peter Maydell wrote: 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

[Qemu-devel] [RFC 2/3] target/m68k: In get_physical_address() check for memory access failures

2018-12-10 Thread Peter Maydell
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 fau