projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315bc7a
)
Special Mask Mode for i8259 PIC (Sebastian Reichelt).
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Jul 2008 09:18:48 +0000
(09:18 +0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 19 Jul 2008 09:18:48 +0000
(09:18 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4894
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/i8259.c
patch
|
blob
|
history
diff --git
a/hw/i8259.c
b/hw/i8259.c
index add63450fefaf88a86c9a6676a3176b3daa783ac..750a76ca976afa668600bae0a363e61951dcc76f 100644
(file)
--- a/
hw/i8259.c
+++ b/
hw/i8259.c
@@
-123,6
+123,8
@@
static int pic_get_irq(PicState *s)
master, the IRQ coming from the slave is not taken into account
for the priority computation. */
mask = s->isr;
+ if (s->special_mask)
+ mask &= ~s->imr;
if (s->special_fully_nested_mode && s == &s->pics_state->pics[0])
mask &= ~(1 << 2);
cur_priority = get_priority(s, mask);