i8259: Reorder intack in pic_read_irq
commit78ef2b6989fb20eb7eee3a5cef66655ea1d19175
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 7 Oct 2011 07:19:43 +0000 (7 09:19 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 16 Oct 2011 11:11:04 +0000 (16 11:11 +0000)
treecc5de0af3a3376efe8e14bb68deb486f980b676b
parentafdb06f84920c4949da904b045cdd105caf2579c
i8259: Reorder intack in pic_read_irq

As we want to move the IRQ update to pic_intack, ordering matters: the
slave ack must be executed before the master ack to avoid missing
further pending slave IRQs.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/i8259.c