qemu/target/nios2
Richard Henderson b72c9d5951 target/nios2: Rewrite interrupt handling
Previously, we would avoid setting CPU_INTERRUPT_HARD when interrupts
are disabled at a particular point in time, instead queuing the value
into cpu->irq_pending.  This is more complicated than required.

Instead, set CPU_INTERRUPT_HARD any time there is a pending interrupt,
and exclusively check for interrupts disabled in nios2_cpu_exec_interrupt.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-03-03 09:51:59 -10:00
..
cpu-param.h tcg: Split out target/arch/cpu-param.h 2019-06-10 07:03:34 -07:00
cpu.c target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
cpu.h target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
helper.c target/nios2: Implement nios2_cpu_record_sigsegv 2021-11-02 07:00:52 -04:00
helper.h target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build target/nios2: Only build mmu.c for system mode 2022-03-03 09:37:18 -10:00
mmu.c target/nios2: Split mmu_write 2022-03-03 09:37:47 -10:00
mmu.h target/nios2: Remove mmu_read_debug 2022-03-03 09:36:19 -10:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
nios2-semi.c linux-user: Don't include gdbstub.h in qemu.h 2021-09-13 20:35:45 +02:00
op_helper.c target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00
trace-events target/nios2: Replace MMU_LOG with tracepoints 2022-03-03 09:36:38 -10:00
translate.c target/nios2: Rewrite interrupt handling 2022-03-03 09:51:59 -10:00