projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75554a3
)
Add a comment about masking of CTI interrupt in 16550A UART.
author
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Sep 2008 01:15:04 +0000
(
01:15
+0000)
committer
balrog
<balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 20 Sep 2008 01:15:04 +0000
(
01:15
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5264
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/serial.c
patch
|
blob
|
history
diff --git
a/hw/serial.c
b/hw/serial.c
index 28d99f26cd281bc1d69509ab5c8e58540de23346..2167b79831ae17a44f9c4304e55334eb811202f3 100644
(file)
--- a/
hw/serial.c
+++ b/
hw/serial.c
@@
-192,6
+192,9
@@
static void serial_update_irq(SerialState *s)
if ((s->ier & UART_IER_RLSI) && (s->lsr & UART_LSR_INT_ANY)) {
tmp_iir = UART_IIR_RLSI;
} else if ((s->ier & UART_IER_RDI) && s->timeout_ipending) {
+ /* Note that(s->ier & UART_IER_RDI) can mask this interrupt,
+ * this is not in the specification but is observed on existing
+ * hardware. */
tmp_iir = UART_IIR_CTI;
} else if ((s->ier & UART_IER_RDI) && (s->lsr & UART_LSR_DR)) {
if (!(s->fcr & UART_FCR_FE)) {