diff options
author | Wentong Wu <wentong.wu@intel.com> | 2020-07-13 14:36:11 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-07-13 14:36:11 +0100 |
commit | 77b3f2af57a37b1c30174a911e03d6ff715ef4aa (patch) | |
tree | 39e2d2b38bb967d4d7a753fe490c71a9ef64b0ea /hw/nios2/cpu_pic.c | |
parent | c7694535718273c5a38c18a0f08e48509ba26e38 (diff) |
target/nios2: Use gen_io_start around wrctl instruction
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 'can do IO'
state, so add gen_io_start around wrctl instruction. Also
at the same time, end the onging TB with DISAS_UPDATE.
Signed-off-by: Wentong Wu <wentong.wu@intel.com>
Message-id: 20200710233433.19729-3-wentong.wu@intel.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/nios2/cpu_pic.c')
0 files changed, 0 insertions, 0 deletions