r2272 - trunk/src/host/qemu-neo1973/hw
andrew at sita.openmoko.org
andrew at sita.openmoko.org
Sat Jun 16 13:55:20 CEST 2007
Author: andrew
Date: 2007-06-16 13:55:19 +0200 (Sat, 16 Jun 2007)
New Revision: 2272
Modified:
trunk/src/host/qemu-neo1973/hw/pcf5060x.c
Log:
Keep re-issuing ONKEY1S irq for as long as the button is down.
Modified: trunk/src/host/qemu-neo1973/hw/pcf5060x.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/pcf5060x.c 2007-06-16 11:47:54 UTC (rev 2271)
+++ trunk/src/host/qemu-neo1973/hw/pcf5060x.c 2007-06-16 11:55:19 UTC (rev 2272)
@@ -784,6 +784,8 @@
s->intr[0] |= 1 << 2; /* set ONKEY1S */
pcf_update(s);
+ /* Does the timer start when INTR0[ONKEY1S] is cleared instead? */
+ qemu_mod_timer(s->onkeylow, qemu_get_clock(vm_clock) + ticks_per_sec);
}
static void pcf_save(QEMUFile *f, void *opaque)
More information about the commitlog
mailing list