diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-08 10:46:39 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-08 10:46:39 +0100 |
commit | 480d1476fcfffbd3193a3f46182c66e013bc3285 (patch) | |
tree | dcc8d90a7ed9dbfc446a8c3b45b2d6d08ca5852b | |
parent | 168d8692c8d5e2530f2064fd137ee4c55e504591 (diff) | |
download | xen-480d1476fcfffbd3193a3f46182c66e013bc3285.tar.gz xen-480d1476fcfffbd3193a3f46182c66e013bc3285.tar.bz2 xen-480d1476fcfffbd3193a3f46182c66e013bc3285.zip |
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>
-rw-r--r-- | tools/ioemu/hw/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ioemu/hw/serial.c b/tools/ioemu/hw/serial.c index 30d9fbe620..b0e0ec960d 100644 --- a/tools/ioemu/hw/serial.c +++ b/tools/ioemu/hw/serial.c @@ -211,7 +211,7 @@ static void serial_update_irq(SerialState *s) } 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; |