qemu-e2k/target-sparc
Peter Maydell 4552a09dd4 target-sparc: Split cpu_put_psr into side-effect and no-side-effect parts
For inbound migration we really want to be able to set the PSR without
having any side effects, but cpu_put_psr() calls cpu_check_irqs() which
might try to deliver CPU interrupts. Split cpu_put_psr() into the
no-side-effect and side-effect parts.

This includes reordering the cpu_check_irqs() to the end of cpu_put_psr(),
because that function may actually end up calling cpu_interrupt(), which
does not seem like a good thing to happen in the middle of updating the PSR.

Suggested-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
2016-01-16 12:01:23 +00:00
..
cc_helper.c
cpu-qom.h
cpu.c disas: QOMify sparc specific disas setup 2015-10-22 15:49:40 +02:00
cpu.h target-sparc: Split cpu_put_psr into side-effect and no-side-effect parts 2016-01-16 12:01:23 +00:00
fop_helper.c
gdbstub.c
helper.c target-sparc: implement NPT timer bit 2016-01-07 12:21:06 +00:00
helper.h target-sparc: implement NPT timer bit 2016-01-07 12:21:06 +00:00
int32_helper.c
int64_helper.c
ldst_helper.c
machine.c
Makefile.objs
mmu_helper.c
monitor.c
TODO
translate.c target-sparc: implement NPT timer bit 2016-01-07 12:21:06 +00:00
vis_helper.c target-sparc: fix 32-bit truncation in fpackfix 2015-11-26 16:47:44 +01:00
win_helper.c target-sparc: Split cpu_put_psr into side-effect and no-side-effect parts 2016-01-16 12:01:23 +00:00