From b9aa0de2994af0c02b019165e1720f7954d34820 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Mon, 3 Dec 2018 21:56:23 +0000 Subject: [PATCH] Fixed IRQ logic in edge-triggered mode (found in patch by Oleg) --- bochs/iodev/hpet.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bochs/iodev/hpet.cc b/bochs/iodev/hpet.cc index 6ac8a7c51..ba977071e 100644 --- a/bochs/iodev/hpet.cc +++ b/bochs/iodev/hpet.cc @@ -272,8 +272,8 @@ void bx_hpet_c::update_irq(HPETTimer *timer, bx_bool set) DEV_pic_raise_irq(route); } else { s.isr &= ~mask; - DEV_pic_raise_irq(route); DEV_pic_lower_irq(route); + DEV_pic_raise_irq(route); } }