diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-12-10 16:56:35 +0000 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2019-05-16 21:40:45 +0200 |
| commit | adcf0bf017351776510121e47b9226095836023c (patch) | |
| tree | 35e30206beb4d454b48d7dcbc301c5753b981344 /ui/curses.c | |
| parent | f80b551ddc8b2d3ffc358f6fc7351e4100ab3dff (diff) | |
| download | focaccia-qemu-adcf0bf017351776510121e47b9226095836023c.tar.gz focaccia-qemu-adcf0bf017351776510121e47b9226095836023c.zip | |
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 'ui/curses.c')
0 files changed, 0 insertions, 0 deletions