提交 eb173de6 编写于 作者: E edgar_igl

Correct interrupt masking for etrax timers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4427 c046a42c-6fe2-441c-8c8c-71466251a162
上级 390efc54
......@@ -174,7 +174,7 @@ static void timer_update_irq(struct fs_timer_t *t)
t->r_masked_intr = t->r_intr & t->rw_intr_mask;
D(printf("%s: masked_intr=%x\n", __func__, t->r_masked_intr));
if (t->r_masked_intr & 1)
if (t->r_masked_intr)
qemu_irq_raise(t->irq[0]);
else
qemu_irq_lower(t->irq[0]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册