[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] ioemu: fix typo in serial emulation
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1218188799 -3600 # Node ID 9877446e919bc14dcb297491ec716d810546e410 # Parent 26afc8557f9f19f3b54bfe47757712edc86f6161 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@xxxxxxxxxxxxx> --- tools/ioemu/hw/serial.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 26afc8557f9f -r 9877446e919b tools/ioemu/hw/serial.c --- a/tools/ioemu/hw/serial.c Fri Aug 08 10:45:30 2008 +0100 +++ b/tools/ioemu/hw/serial.c Fri Aug 08 10:46:39 2008 +0100 @@ -211,7 +211,7 @@ static void serial_update_irq(SerialStat } else if ( s->timeout_ipending ) { tmp_iir = UART_IIR_CTI; } else if ( ( s->ier & UART_IER_RDI ) && (s->lsr & UART_LSR_DR ) ) { - if ( !(s->iir & UART_FCR_FE) ) { + if ( !(s->fcr & UART_FCR_FE) ) { tmp_iir = UART_IIR_RDI; } else if ( s->recv_fifo.count >= s->recv_fifo.itl ) { tmp_iir = UART_IIR_RDI; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |