summary refs log tree commit diff stats
path: root/chardev/char-socket.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-08-01 16:45:19 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-08-01 23:52:23 +0200
commit8caaae7319a5f7ca449900c0e6bfcaed78fa3ae2 (patch)
tree88b695d8deccca2b7afa7c49ad9067beb6b50416 /chardev/char-socket.c
parent71e2dd6aa1bdbac19c661638a4ae91816002ac9e (diff)
downloadfocaccia-qemu-8caaae7319a5f7ca449900c0e6bfcaed78fa3ae2.tar.gz
focaccia-qemu-8caaae7319a5f7ca449900c0e6bfcaed78fa3ae2.zip
target/m68k: Fix semihost lseek offset computation
The arguments for deposit64 are (value, start, length, fieldval); this
appears to have thought they were (value, fieldval, start,
length). Reorder the parameters to match the actual function.

Cc: qemu-stable@nongnu.org
Fixes: 950272506d ("target/m68k: Use semihosting/syscalls.h")
Reported-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230801154519.3505531-1-peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'chardev/char-socket.c')
0 files changed, 0 insertions, 0 deletions