diff options
author | Leon Alrae | 2016-03-29 04:35:52 +0200 |
---|---|---|
committer | Leon Alrae | 2016-07-12 10:10:13 +0200 |
commit | 19494f811a43c6bc226aa272d86300d9229224fe (patch) | |
tree | 50d232e81783cb853b087fad2a3cd98495309818 /include/hw/mips | |
parent | hw/mips: implement Global Interrupt Controller (diff) | |
download | qemu-19494f811a43c6bc226aa272d86300d9229224fe.tar.gz qemu-19494f811a43c6bc226aa272d86300d9229224fe.tar.xz qemu-19494f811a43c6bc226aa272d86300d9229224fe.zip |
hw/mips/cps: create GIC block inside CPS
Add GIC to CPS and expose its interrupt pins instead of CPU's.
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'include/hw/mips')
-rw-r--r-- | include/hw/mips/cps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/mips/cps.h b/include/hw/mips/cps.h index 4dbae9c8c9..526b8d0b11 100644 --- a/include/hw/mips/cps.h +++ b/include/hw/mips/cps.h @@ -22,6 +22,7 @@ #include "hw/sysbus.h" #include "hw/misc/mips_cmgcr.h" +#include "hw/intc/mips_gic.h" #include "hw/misc/mips_cpc.h" #include "hw/misc/mips_itu.h" @@ -37,6 +38,7 @@ typedef struct MIPSCPSState { MemoryRegion container; MIPSGCRState gcr; + MIPSGICState gic; MIPSCPCState cpc; MIPSITUState itu; } MIPSCPSState; |