projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac3d71
)
openpic: set mixed mode as supported
author
Alexander Graf
<agraf@suse.de>
Mon, 7 Jan 2013 19:17:24 +0000
(20:17 +0100)
committer
Alexander Graf
<agraf@suse.de>
Fri, 18 Jan 2013 18:06:56 +0000
(19:06 +0100)
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>
hw/openpic.c
patch
|
blob
|
history
diff --git
a/hw/openpic.c
b/hw/openpic.c
index c986b5ddcb95d15e9517a4894dcb42779c160bb6..bcafe0a12c396414acd6aa64b196360a224590f7 100644
(file)
--- 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;