Skip to contentSkip to conversation

PATCH: 2nd serial port for Malta

Qemu-devel Jason Wessel 1 participant 1 message Feb 20, 2007

lore
Share & tools
lore
#0 lore raw

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 [email protected]

Jason.

hw/mips_malta.c +1 -0
Index: 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.