mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Fix NetBSD keyboard problem
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4822 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
5e65a31037
commit
9277bc72cf
1 changed files with 1 additions and 2 deletions
|
@ -260,8 +260,7 @@ static uint32_t get_queue(void *opaque)
|
||||||
|
|
||||||
static int slavio_serial_update_irq_chn(ChannelState *s)
|
static int slavio_serial_update_irq_chn(ChannelState *s)
|
||||||
{
|
{
|
||||||
if ((s->wregs[W_INTR] & INTR_INTALL) && // interrupts enabled
|
if ((((s->wregs[W_INTR] & INTR_TXINT) && s->txint == 1) ||
|
||||||
(((s->wregs[W_INTR] & INTR_TXINT) && s->txint == 1) ||
|
|
||||||
// tx ints enabled, pending
|
// tx ints enabled, pending
|
||||||
((((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINT1ST) ||
|
((((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINT1ST) ||
|
||||||
((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINTALL)) &&
|
((s->wregs[W_INTR] & INTR_RXMODEMSK) == INTR_RXINTALL)) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue