diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2021-08-30 15:34:49 +1000 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2021-09-21 07:56:49 +1000 |
| commit | e5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa (patch) | |
| tree | f4cea728c25c7f0d734a49ed04de9d88314aa110 /include/hw/intc | |
| parent | a714b8aa029c2a6cc0b99a798f4f8b6d4282e711 (diff) | |
| download | focaccia-qemu-e5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa.tar.gz focaccia-qemu-e5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa.zip | |
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/intc')
| -rw-r--r-- | include/hw/intc/ibex_plic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/intc/ibex_plic.h b/include/hw/intc/ibex_plic.h index 7fc495db99..d596436e06 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 */ |