aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorAlistair Francis <alistair.francis@wdc.com>2021-08-30 15:34:49 +1000
committerAlistair Francis <alistair.francis@wdc.com>2021-09-21 07:56:49 +1000
commite5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa (patch)
treef4cea728c25c7f0d734a49ed04de9d88314aa110 /include/hw
parenta714b8aa029c2a6cc0b99a798f4f8b6d4282e711 (diff)
downloadqemu-e5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa.zip
qemu-e5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa.tar.gz
qemu-e5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa.tar.bz2
hw/intc: ibex_plic: Convert the PLIC to use RISC-V CPU GPIO lines
Instead of using riscv_cpu_update_mip() let's instead use the new RISC-V CPU GPIO lines to set the external MIP bits. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 0a76946981852f5bd15f0c37ab35b253371027a8.1630301632.git.alistair.francis@wdc.com
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/intc/ibex_plic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/intc/ibex_plic.h b/include/hw/intc/ibex_plic.h
index 7fc495d..d596436 100644
--- a/include/hw/intc/ibex_plic.h
+++ b/include/hw/intc/ibex_plic.h
@@ -60,6 +60,8 @@ struct IbexPlicState {
uint32_t threshold_base;
uint32_t claim_base;
+
+ qemu_irq *external_irqs;
};
#endif /* HW_IBEX_PLIC_H */