Skip to contentSkip to conversation

Serial: DOS Plus regression

PATCH Superseded Roy Tam 2 participants 3 messages Feb 28, 2010 – Mar 9, 2010

lore
Share & tools
lore

Roy Tam

author
#0 lore raw

PATCH 1/1 Serial: DOS Plus regression

The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again.

--

hw/serial.c +0 -0
index df67383..cf23aad 100644
@@ -401,10 +401,6 @@ static void serial_ioport_write(void *opaque,

uint32_t addr, uint32_t val)

                      s->poll_msl = 0;
                 }
             }

- if (s->lsr & UART_LSR_THRE) {
- s->thr_ipending = 1;
- serial_update_irq(s);
- }

         }
         break;
     case 2:
#1 lore raw
Quoted 13 lines · Roy Tam

The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again.

--

hw/serial.c +0 -0
index df67383..cf23aad 100644

hw/serial.c static void serial_ioport_write(void *opaque, · line 402

Quoted 2 lines
hw/serial.c +0 -0
@@ -401,10 +401,6 @@ static void serial_ioport_write(void *opaque,
 uint32_t addr, uint32_t val)
 

This patch is whitespace damaged.

Regards,

Anthony Liguori

Quoted 14 lines
hw/serial.c +0 -4
                       s->poll_msl = 0;
                  }
              }
-            if (s->lsr&  UART_LSR_THRE) {
-                s->thr_ipending = 1;
-                serial_update_irq(s);
-            }
          }
          break;
      case 2:
author
#2 lore raw

2010/3/9 Anthony Liguori <[email protected]>

Quoted 21 lines · Roy Tam
Quoted 14 lines

The commit in r1049 (serial interrupt fix (Hampa Hug)) prevents booting Digital Research DOSPlus. Following patch partially reverts that commit and makes DOSPlus booting in QEMU again.

--

hw/serial.c +0 -0
index df67383..cf23aad 100644

hw/serial.c static void serial_ioport_write(void *opaque, · line 402

Quoted 2 lines
hw/serial.c +0 -0
@@ -401,10 +401,6 @@ static void serial_ioport_write(void *opaque,
 uint32_t addr, uint32_t val)
 

This patch is whitespace damaged.

Quoted 4 lines

Regards,

Anthony Liguori

GMail wrapped the mail. Sorry about that.
Patch file attached.

hw/serial.c +0 -4
index f3ec36a..2ae550e 100644
@@ -401,10 +401,6 @@ static void serial_ioport_write(void *opaque, uint32_t addr, uint32_t val)
                      s->poll_msl = 0;
                 }
             }
-            if (s->lsr & UART_LSR_THRE) {
-                s->thr_ipending = 1;
-                serial_update_irq(s);
-            }
         }
         break;
     case 2: