Home
last modified time | relevance | path

Searched hist:adcf0bf017351776510121e47b9226095836023c (Results 1 – 1 of 1) sorted by relevance

/qemu/target/m68k/
H A Dhelper.cadcf0bf017351776510121e47b9226095836023c Mon Dec 10 16:56:35 UTC 2018 Peter Maydell <peter.maydell@linaro.org> 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>