qemu/target/nios2
Keith Packard 93b4033433 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>
(cherry picked from commit 71e2dd6aa1)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-08-03 08:26:26 +03:00
..
cpu-param.h Normalize header guard symbol definition 2022-05-11 16:50:26 +02:00
cpu.c target/nios2: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
cpu.h target/nios2: Advance pc when raising exceptions 2022-04-26 08:17:05 -07:00
helper.c target/nios2: Advance pc when raising exceptions 2022-04-26 08:17:05 -07:00
helper.h target/nios2: Implement rdprs, wrprs 2022-04-26 08:17:05 -07:00
Kconfig
meson.build target/nios2: Move nios2-semi.c to nios2_softmmu_ss 2022-06-28 10:18:57 +05:30
mmu.c target/nios2: Use hw/registerfields.h for CR_TLBMISC fields 2022-04-26 08:16:41 -07:00
mmu.h
monitor.c
nios2-semi.c target/nios2: Fix semihost lseek offset computation 2023-08-03 08:26:26 +03:00
op_helper.c accel/tcg: Remove will_exit argument from cpu_restore_state 2022-11-01 08:31:41 +11:00
trace-events
translate.c target/nios2: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00