[4894] Special Mask Mode for i8259 PIC (Sebastian Reichelt).
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
===================================================================
hw/i8259.c +2 -0
@@ -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);