aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-12-10 16:56:35 +0000
committerLaurent Vivier <laurent@vivier.eu>2019-05-16 21:40:45 +0200
commitadcf0bf017351776510121e47b9226095836023c (patch)
tree35e30206beb4d454b48d7dcbc301c5753b981344 /linux-user
parentf80b551ddc8b2d3ffc358f6fc7351e4100ab3dff (diff)
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>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions