qemu/target/nios2
Keith Packard c11d5bdae7 target/nios2: Pass semihosting arg to exit
Instead of using R_ARG0 (the semihost function number), use R_ARG1
(the provided exit status).

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230801152245.332749-1-keithp@keithp.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-08-01 23:52:23 +02:00
..
cpu-param.h target/nios2: Remove NB_MMU_MODES define 2023-03-13 06:44:37 -07:00
cpu.c gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
cpu.h target: Widen pc/cs_base in cpu_get_tb_cpu_state 2023-06-26 17:32:59 +02: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: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
mmu.c target/nios2: Use hw/registerfields.h for CR_TLBMISC fields 2022-04-26 08:16:41 -07:00
mmu.h target: Include missing 'cpu.h' 2022-03-06 13:15:42 +01:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
nios2-semi.c target/nios2: Pass semihosting arg to exit 2023-08-01 23:52:23 +02:00
op_helper.c accel/tcg: Remove will_exit argument from cpu_restore_state 2022-11-01 08:31:41 +11:00
trace-events target/nios2: Replace MMU_LOG with tracepoints 2022-03-03 09:36:38 -10:00
translate.c target/nios2 : Explicitly ask for target-endian loads and stores 2023-07-01 08:26:54 +02:00