qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] PATCH: serial.c


From: Tristan Gingold
Subject: [Qemu-devel] PATCH: serial.c
Date: Fri, 4 May 2007 14:51:30 +0200

Hi,

According to the documentation, reading IIR does not reset any pending interrupt.
This issue caused VxWorks to freeze.

Tristan.

*** hw/serial.c 31 Mar 2007 16:54:14 -0000      1.15
--- hw/serial.c 4 May 2007 12:49:34 -0000
***************
*** 233,242 ****
          break;
      case 2:
          ret = s->iir;
-         /* reset THR pending bit */
-         if ((ret & 0x7) == UART_IIR_THRI)
-             s->thr_ipending = 0;
-         serial_update_irq(s);
          break;
      case 3:
          ret = s->lcr;
--- 233,238 ----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]