OSDN Git Service

hw/intc: ibex_plic: Convert the PLIC to use RISC-V CPU GPIO lines
authorAlistair Francis <alistair.francis@wdc.com>
Mon, 30 Aug 2021 05:34:49 +0000 (15:34 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 20 Sep 2021 21:56:49 +0000 (07:56 +1000)
commite5cc6aaeb51dd0d80e1f5a6d6a6808d6355958aa
treef4cea728c25c7f0d734a49ed04de9d88314aa110
parenta714b8aa029c2a6cc0b99a798f4f8b6d4282e711
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
hw/intc/ibex_plic.c
hw/riscv/opentitan.c
include/hw/intc/ibex_plic.h