From: Wentong Wu
wrctl instruction on nios2 target will cause checking cpu interrupt,
but tcg_handle_interrupt() will call cpu_abort() if the CPU gets an
interrupt while it's not in a 'can do IO' state, so around wrctl
instruction add gen_io_start/end.
Signed-off-by: Wentong Wu
---
target/nios
Update interrupt request when external interupt pends for STATUS_PIE
disabled. Otherwise on icount enabled nios2 target there will be cpu
abort when guest code changes state register with wrctl instruction.
Signed-off-by: Wentong Wu
---
hw/nios2/cpu_pic.c | 2 ++
1 file changed, 2 insertions(+)