Revision d9c32310 sysemu.h
b/sysemu.h | ||
---|---|---|
47 | 47 |
int qemu_shutdown_requested(void); |
48 | 48 |
int qemu_reset_requested(void); |
49 | 49 |
int qemu_powerdown_requested(void); |
50 |
#ifdef NEED_CPU_H |
|
51 |
#if !defined(TARGET_SPARC) && !defined(TARGET_I386) |
|
52 |
// Please implement a power failure function to signal the OS |
|
53 |
#define qemu_system_powerdown() do{}while(0) |
|
54 |
#else |
|
55 |
void qemu_system_powerdown(void); |
|
56 |
#endif |
|
57 |
#endif |
|
50 |
extern qemu_irq qemu_system_powerdown; |
|
58 | 51 |
void qemu_system_reset(void); |
59 | 52 |
|
60 | 53 |
void do_savevm(Monitor *mon, const char *name); |
Also available in: Unified diff