qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4894] Special Mask Mode for i8259 PIC (Sebastian Reichelt).
@ 2008-07-19  9:18 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-07-19  9:18 UTC (permalink / raw)
  To: qemu-devel

Revision: 4894
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4894
Author:   balrog
Date:     2008-07-19 09:18:48 +0000 (Sat, 19 Jul 2008)

Log Message:
-----------
Special Mask Mode for i8259 PIC (Sebastian Reichelt).

Modified Paths:
--------------
    trunk/hw/i8259.c

Modified: trunk/hw/i8259.c
===================================================================
--- trunk/hw/i8259.c	2008-07-18 18:06:23 UTC (rev 4893)
+++ trunk/hw/i8259.c	2008-07-19 09:18:48 UTC (rev 4894)
@@ -123,6 +123,8 @@
        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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-19  9:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19  9:18 [Qemu-devel] [4894] Special Mask Mode for i8259 PIC (Sebastian Reichelt) Andrzej Zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).