summaryrefslogtreecommitdiffstats
path: root/ui/clipboard.c
diff options
context:
space:
mode:
authorRichard Henderson2022-02-26 12:56:15 +0100
committerRichard Henderson2022-03-03 20:51:59 +0100
commitb72c9d5951f1dfa047f545408dd9e35597e6b9d3 (patch)
tree9e3e33056b2417870a4e8aef8a84c54c7c3613ab /ui/clipboard.c
parenttarget/nios2: Special case ipending in rdctl and wrctl (diff)
downloadqemu-b72c9d5951f1dfa047f545408dd9e35597e6b9d3.tar.gz
qemu-b72c9d5951f1dfa047f545408dd9e35597e6b9d3.tar.xz
qemu-b72c9d5951f1dfa047f545408dd9e35597e6b9d3.zip
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>
Diffstat (limited to 'ui/clipboard.c')
0 files changed, 0 insertions, 0 deletions