mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
riscv/opentitan: Connect the PLIC device
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
879f60f01c
commit
b9fc51354c
2 changed files with 15 additions and 2 deletions
|
@ -20,6 +20,7 @@
|
|||
#define HW_OPENTITAN_H
|
||||
|
||||
#include "hw/riscv/riscv_hart.h"
|
||||
#include "hw/intc/ibex_plic.h"
|
||||
|
||||
#define TYPE_RISCV_IBEX_SOC "riscv.lowrisc.ibex.soc"
|
||||
#define RISCV_IBEX_SOC(obj) \
|
||||
|
@ -31,6 +32,8 @@ typedef struct LowRISCIbexSoCState {
|
|||
|
||||
/*< public >*/
|
||||
RISCVHartArrayState cpus;
|
||||
IbexPlicState plic;
|
||||
|
||||
MemoryRegion flash_mem;
|
||||
MemoryRegion rom;
|
||||
} LowRISCIbexSoCState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue