Revision ffcdb539 hw/slavio_serial.c

b/hw/slavio_serial.c
538 538
    slavio_serial_io_memory = cpu_register_io_memory(0, slavio_serial_mem_read, slavio_serial_mem_write, s);
539 539
    cpu_register_physical_memory(base, SERIAL_MAXADDR, slavio_serial_io_memory);
540 540

  
541
    qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0]);
541
    qemu_add_mouse_event_handler(sunmouse_event, &s->chn[0], 0);
542 542
    qemu_add_kbd_event_handler(sunkbd_event, &s->chn[1]);
543 543
    qemu_register_reset(slavio_serial_reset, s);
544 544
    slavio_serial_reset(s);

Also available in: Unified diff