summaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-09 08:42:19 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-09 08:42:19 +0000
commitd9c3231019a0fbacbe15dcb26a0e3708b726af77 (patch)
treef00d2747772fbf49fcc46cefcd8f30bec97154a2 /sysemu.h
parentb2b6f6ec3996925ebc85e77c5ac31ff34e8783f6 (diff)
Use qemu_irq for system_powerdown
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r--sysemu.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sysemu.h b/sysemu.h
index 6af88d82e1..c7065ac038 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -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);