qemu/target/nios2
Keith Packard 71e2dd6aa1 target/nios2: 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.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Fixes: d1e23cbaa4 ("target/nios2: Use semihosting/syscalls.h")
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230731235245.295513-1-keithp@keithp.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-08-01 23:52:23 +02:00
..
cpu-param.h
cpu.c
cpu.h target: Widen pc/cs_base in cpu_get_tb_cpu_state 2023-06-26 17:32:59 +02:00
helper.c
helper.h
Kconfig
meson.build
mmu.c
mmu.h
monitor.c
nios2-semi.c target/nios2: Fix semihost lseek offset computation 2023-08-01 23:52:23 +02:00
op_helper.c
trace-events
translate.c target/nios2 : Explicitly ask for target-endian loads and stores 2023-07-01 08:26:54 +02:00