diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-09 08:42:19 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-09 08:42:19 +0000 |
commit | d9c3231019a0fbacbe15dcb26a0e3708b726af77 (patch) | |
tree | f00d2747772fbf49fcc46cefcd8f30bec97154a2 /sysemu.h | |
parent | b2b6f6ec3996925ebc85e77c5ac31ff34e8783f6 (diff) | |
download | qemu-d9c3231019a0fbacbe15dcb26a0e3708b726af77.zip qemu-d9c3231019a0fbacbe15dcb26a0e3708b726af77.tar.gz qemu-d9c3231019a0fbacbe15dcb26a0e3708b726af77.tar.bz2 |
Use qemu_irq for system_powerdown
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -47,14 +47,7 @@ void qemu_system_powerdown_request(void); int qemu_shutdown_requested(void); int qemu_reset_requested(void); int qemu_powerdown_requested(void); -#ifdef NEED_CPU_H -#if !defined(TARGET_SPARC) && !defined(TARGET_I386) -// Please implement a power failure function to signal the OS -#define qemu_system_powerdown() do{}while(0) -#else -void qemu_system_powerdown(void); -#endif -#endif +extern qemu_irq qemu_system_powerdown; void qemu_system_reset(void); void do_savevm(Monitor *mon, const char *name); |