qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [4894] Special Mask Mode for i8259 PIC (Sebastian Reichelt)


From: Andrzej Zaborowski
Subject: [Qemu-devel] [4894] Special Mask Mode for i8259 PIC (Sebastian Reichelt).
Date: Sat, 19 Jul 2008 09:18:48 +0000

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);






reply via email to

[Prev in Thread] Current Thread [Next in Thread]