r2310 - trunk/src/host/qemu-neo1973
andrew at sita.openmoko.org
andrew at sita.openmoko.org
Wed Jun 20 20:27:58 CEST 2007
Author: andrew
Date: 2007-06-20 20:27:57 +0200 (Wed, 20 Jun 2007)
New Revision: 2310
Modified:
trunk/src/host/qemu-neo1973/sdl.c
trunk/src/host/qemu-neo1973/vl.c
Log:
On shutdown start the emulation if it's paused.
Modified: trunk/src/host/qemu-neo1973/sdl.c
===================================================================
--- trunk/src/host/qemu-neo1973/sdl.c 2007-06-20 18:19:13 UTC (rev 2309)
+++ trunk/src/host/qemu-neo1973/sdl.c 2007-06-20 18:27:57 UTC (rev 2310)
@@ -451,7 +451,7 @@
break;
case SDL_QUIT:
if (!no_quit) {
- qemu_system_shutdown_request();
+ qemu_system_shutdown_request();
}
break;
case SDL_MOUSEMOTION:
Modified: trunk/src/host/qemu-neo1973/vl.c
===================================================================
--- trunk/src/host/qemu-neo1973/vl.c 2007-06-20 18:19:13 UTC (rev 2309)
+++ trunk/src/host/qemu-neo1973/vl.c 2007-06-20 18:27:57 UTC (rev 2310)
@@ -6523,6 +6523,8 @@
shutdown_requested = 1;
if (cpu_single_env)
cpu_interrupt(cpu_single_env, CPU_INTERRUPT_EXIT);
+ /* In case the emulation is stopped */
+ vm_start();
}
void qemu_system_powerdown_request(void)
More information about the commitlog
mailing list