summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-01-07 20:17:24 +0100
committerAlexander Graf <agraf@suse.de>2013-01-18 19:06:56 +0100
commit86e56a885aa5051c87906dfcd060c59f0af22309 (patch)
treee517f2306270f8954f34cd882fc74011c7fa1dcc
parent1ac3d71302d9d49427dd068af7eccdd4de128522 (diff)
downloadqemu-86e56a885aa5051c87906dfcd060c59f0af22309.tar.gz
qemu-86e56a885aa5051c87906dfcd060c59f0af22309.tar.bz2
qemu-86e56a885aa5051c87906dfcd060c59f0af22309.zip
openpic: set mixed mode as supported
The Raven MPIC implementation supports the "Mixed" mode to work with an i8259. While we don't implement mixed mode, we should mark it as a supported mode in the mode bitmap. Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--hw/openpic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/openpic.c b/hw/openpic.c
index c986b5ddcb..bcafe0a12c 100644
--- a/hw/openpic.c
+++ b/hw/openpic.c
@@ -1470,6 +1470,7 @@ static int openpic_init(SysBusDevice *dev)
opp->irq_ipi0 = RAVEN_IPI_IRQ;
opp->irq_tim0 = RAVEN_TMR_IRQ;
opp->brr1 = -1;
+ opp->mpic_mode_mask = GCR_MODE_MIXED;
list = list_le;
/* Don't map MSI region */
list[2].map = false;