[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] PATCH: 2nd serial port for Malta
From: |
Jason Wessel |
Subject: |
[Qemu-devel] PATCH: 2nd serial port for Malta |
Date: |
Tue, 20 Feb 2007 07:14:59 -0600 |
User-agent: |
Thunderbird 1.5.0.9 (Windows/20061207) |
Attached is a simple patch to enable the 2nd serial port on the malta
board. Testing shows it even allows the use of KGDB over the second
serial port.
signed-off-by: address@hidden
Jason.
Index: qemu/hw/mips_malta.c
===================================================================
--- qemu.orig/hw/mips_malta.c
+++ qemu/hw/mips_malta.c
@@ -570,6 +570,7 @@ void mips_malta_init (int ram_size, int
kbd_init();
rtc_state = rtc_init(0x70, 8);
serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]);
+ serial_init(&pic_set_irq_new, isa_pic, 0x2f8, 4, serial_hds[0]);
parallel_init(0x378, 7, parallel_hds[0]);
/* XXX: The floppy controller does not work correctly, something is
probably wrong.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] PATCH: 2nd serial port for Malta,
Jason Wessel <=