ia64/xen-unstable

changeset 18295:9877446e919b

ioemu: fix typo in serial emulation

There is a small bug on the serial emulation code that prevents kgdb
from working correctly over the serial.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Aug 08 10:46:39 2008 +0100 (2008-08-08)
parents 26afc8557f9f
children 3ab0e76fb8e2
files tools/ioemu/hw/serial.c
line diff
     1.1 --- a/tools/ioemu/hw/serial.c	Fri Aug 08 10:45:30 2008 +0100
     1.2 +++ b/tools/ioemu/hw/serial.c	Fri Aug 08 10:46:39 2008 +0100
     1.3 @@ -211,7 +211,7 @@ static void serial_update_irq(SerialStat
     1.4      } else if ( s->timeout_ipending ) {
     1.5          tmp_iir = UART_IIR_CTI;
     1.6      } else if ( ( s->ier & UART_IER_RDI ) && (s->lsr & UART_LSR_DR ) ) {
     1.7 -        if ( !(s->iir & UART_FCR_FE) ) {
     1.8 +        if ( !(s->fcr & UART_FCR_FE) ) {
     1.9             tmp_iir = UART_IIR_RDI;
    1.10          } else if ( s->recv_fifo.count >= s->recv_fifo.itl ) {
    1.11             tmp_iir = UART_IIR_RDI;