cris: improve passing PIC interrupt vector to the CPU
commitf4f643882d9dc4676411d1f5fcf9393aa745570b
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 17 Oct 2019 17:16:53 +0000 (17 19:16 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 7 Jan 2020 13:24:29 +0000 (7 17:24 +0400)
tree11af6c3e2aed7a73ab88b33fab4f8231634fb5b2
parent3cff81733da62eaea2252e638ea47849cf284ceb
cris: improve passing PIC interrupt vector to the CPU

Instead of accessing cpu interrupt vector directly from PIC, send the
vector value over the qemu_irq.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/cris/axis_dev88.c
hw/intc/etraxfs_pic.c
target/cris/cpu.c
target/cris/cpu.h