Serial: DOS Plus regression
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
@@ -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: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.
Sign-off-by Roy Tam<[email protected]>--
hw/serial.c +0
-0
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
-4s->poll_msl =0 ; } } -if (s->lsr&UART_LSR_THRE ) { - s->thr_ipending =1 ; -serial_update_irq (s); - } }break; case 2:
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.
Sign-off-by Roy Tam<[email protected]>--
hw/serial.c +0
-0hw/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
@@ -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 :